Results 1 to 9 of 9

Thread: disable access log on dm-server

  1. #1
    Join Date
    Oct 2008
    Posts
    25

    Default disable access log on dm-server

    how can I disable access log?

    In large environments http requests come through http or ajp to a tomcat (here dm-server) from an apache webserver. To reduce tomcat load there is no need to log to an access.log additionally to the apache webserver.

    The only section in config/servletContainer.config or UserGuide I found was
    Code:
                    "logs": {
                            "perApplicationLogging": true,
                            "accessLogDir": "access",
                            "accessLogFormat": "long"
    Is there any "accessLog" : "true|false" option available or planned?
    A CR would be to overwrite it per bundle/webapp config.

    -- Thomas

  2. #2
    Join Date
    Jan 2006
    Location
    Zürich, Switzerland
    Posts
    423

    Default

    Hi Thomas,

    Quote Originally Posted by tkoeppen View Post
    how can I disable access log?
    For version 1.0.0 of the dm Server, you can only turn off Servlet container access logging for "per application logging" files. There is currently no way to completely disable access logging. If you would like to have such a feature, please create a JIRA issue to recommend it.

    Regards,

    Sam

  3. #3
    Join Date
    Oct 2008
    Posts
    25

  4. #4
    Join Date
    Jan 2006
    Location
    Zürich, Switzerland
    Posts
    423

    Default

    Hi Thomas,

    Thanks for creating the JIRA. We are looking into this.

    FYI: for anyone else interested in watching this issue, you can follow along here: https://issuetracker.springsource.co...e/PLATFORM-193

    Regards,

    Sam

  5. #5
    Join Date
    Jan 2006
    Location
    Southampton, UK
    Posts
    117

    Default

    Thomas,

    As you can see from PLATFORM-193, this has been changed and will be available in the next dm Server milestone.
    Ben Hale
    tc Server Team Core Developer
    http://www.springsource.com/products/tcserver

  6. #6
    Join Date
    Oct 2008
    Posts
    25

    Default

    Ben,

    thanks. will test it, when next milestone ist available.

    -Thomas

  7. #7
    Join Date
    Jan 2009
    Posts
    4

    Default Access forbiddent to ticket

    Hi

    I'm trying to do the same thing, but the doc doesn't help me.

    Moreover, i have tried to connect to JIRA to view the bug report, but even logged in, i got an access error when trying to display https://issuetracker.springsource.co...e/PLATFORM-193

    Code:
    ERROR
    
    It seems that you have tried to perform an operation which you are not permitted to perform.
    
    If you think this message is wrong, please consult your administrators about getting the necessary permissions.

  8. #8
    Join Date
    Dec 2004
    Location
    Vancouver, BC
    Posts
    80

    Default

    We patched: com.springsource.server.servlet.tomcat-1.0.1.jar from the SERVER_HOME/repository/bundles/subsystems/com.springsource.server.servlet folder

    It was quite awhile ago, so I am not totally sure what code changes were made...

  9. #9
    Join Date
    Feb 2008
    Posts
    16

    Default Content of PLATFORM-193

    Quote Originally Posted by Ben Hale View Post

    As you can see from PLATFORM-193, this has been changed and will be available in the next dm Server milestone.
    Please, can anybody write as reply to my post what was the resolution of issue PLATFORM-193. See bouil reply to understand reason why it is not possible to do it myself.

    I would also like to disable access log.

    btw. the ability to disable access log was also mentioned in release notes for DM 1.0.1, but unfortunately I have no idea how to make this.

    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •