glassfish
  1. glassfish
  2. GLASSFISH-21023

HTTP access log writes are delayed after log file rotation

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 4.1
    • Fix Version/s: None
    • Component/s: logging
    • Labels:
      None

      Description

      I'm using GlassFish 4.0.1. I have access logging enabled, and log rotation
      enabled. The logs rotated on Mar 24. Since then, the new log file had no
      new log entries, even though I was accessing the server, and the log file
      never rotated again.

      Using the admin console, I disabled access logging. As soon as I did that,
      a bunch of log records were written out, covering all the time from Mar 24
      to now.

      I have http-service.access-log.write-interval-seconds set to "0".

        Activity

        Hide
        TYUEN added a comment -

        I have the same problem in my Glassfish 4.1 server. However, the access log stops update 3 hours before the log rotation time. Also, no exception/error message was found in the server.log and the access log resumes update after restarting the domain.

        The following is my access log setting:
        server.http-service.access-log.buffer-size-bytes=4096
        server.http-service.access-log.write-interval-seconds=0

        Show
        TYUEN added a comment - I have the same problem in my Glassfish 4.1 server. However, the access log stops update 3 hours before the log rotation time. Also, no exception/error message was found in the server.log and the access log resumes update after restarting the domain. The following is my access log setting: server.http-service.access-log.buffer-size-bytes=4096 server.http-service.access-log.write-interval-seconds=0

          People

          • Assignee:
            rajendra_inamdar
            Reporter:
            Bill Shannon
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: