Announcement Announcement Module
Collapse
No announcement yet.
disable access log on dm-server Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Hi Thomas,

    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

    Comment


    • #3
      https://issuetracker.springsource.co...e/PLATFORM-193

      Comment


      • #4
        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

        Comment


        • #5
          Thomas,

          As you can see from PLATFORM-193, this has been changed and will be available in the next dm Server milestone.

          Comment


          • #6
            Ben,

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

            -Thomas

            Comment


            • #7
              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.

              Comment


              • #8
                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...

                Comment


                • #9
                  Content of PLATFORM-193

                  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.

                  Comment

                  Working...
                  X