Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 9.1peur2
    • Fix Version/s: 4.0_b43
    • Component/s: logging
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      8,894

      Description

      Please add a date-based log rotation option. We would like our logs to rotate at
      midnight instead of every x hours or x MB.

        Activity

        Hide
        jthoennes added a comment -

        Even better would be by date, hour or minute as log4j can do.

        Show
        jthoennes added a comment - Even better would be by date, hour or minute as log4j can do.
        Hide
        naman_mehta added a comment -

        It's already part of the 3.2 and 4.0

        Set this property value to true in logging.properties file and it rotates the log at midnight.

        com.sun.enterprise.server.logging.GFFileHandler.rotationOnDateChange=true

        Show
        naman_mehta added a comment - It's already part of the 3.2 and 4.0 Set this property value to true in logging.properties file and it rotates the log at midnight. com.sun.enterprise.server.logging.GFFileHandler.rotationOnDateChange=true

          People

          • Assignee:
            naman_mehta
            Reporter:
            davideagen
          • Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: