glassfish
  1. glassfish
  2. GLASSFISH-541

access log rotation value is really for some other logging attribute...

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 9.0pe
    • Fix Version/s: 9.0pe
    • Component/s: docs
    • Labels:
      None
    • Environment:

      Operating System: Mac OS X
      Platform: Macintosh

    • Issuezilla Id:
      541
    • Status Whiteboard:
      Hide

      needfix-9.0peur1

      Show
      needfix-9.0peur1

      Description

      See http://forums.java.net/jive/forum.jspa?forumID=56&start=0

      I started the server.
      I did tail -f on the access log.
      I used the browser to hit the docroot.
      I saw the "Your server is running" page.
      Nothing appeared in the log – for an extended period.
      I went into the admin gui to see if there was some "time" associated with the
      access log...

      The only "time" element exposed in the gui was the Rotation time..

      I set this value to 1 minute.

      I restarted.
      – as the server shut down, the access log got updated with my "hit"

      I hit the docroot again.
      I waited for about a minute and the hit appeared in the access log...

      The log never rotated in the server log rotation sense of the word (a new log
      file was not created every minute)

        Activity

        Hide
        cm151579 added a comment -

        Need to update OLH and other related docs for logging.
        Vipin owns logging doc.

        Show
        cm151579 added a comment - Need to update OLH and other related docs for logging. Vipin owns logging doc.
        Hide
        gfbugbridge added a comment -

        <BT6443394>

        Show
        gfbugbridge added a comment - <BT6443394>
        Hide
        gfbugbridge added a comment -

        <BT6565330>

        Show
        gfbugbridge added a comment - <BT6565330>
        Hide
        vince kraemer added a comment -

        Any new info on this bug that is now more than a year old?

        Show
        vince kraemer added a comment - Any new info on this bug that is now more than a year old?
        Hide
        hl34125 added a comment -

        Added the following to the online help page:
        When you specify a rotation-interval, and the rotation interval has elapsed, the
        access log file will be rotated only if the resulting rotation suffix of the new
        access log file is different from the rotation suffix of the existing
        access log file. So, the rotation interval must coincide with the rotation
        suffix in order to see your access log file rotated within the expected
        timeframe interval.

        Show
        hl34125 added a comment - Added the following to the online help page: When you specify a rotation-interval, and the rotation interval has elapsed, the access log file will be rotated only if the resulting rotation suffix of the new access log file is different from the rotation suffix of the existing access log file. So, the rotation interval must coincide with the rotation suffix in order to see your access log file rotated within the expected timeframe interval.

          People

          • Assignee:
            Paul Davies
            Reporter:
            vince kraemer
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: