Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6350749

Enhance FileHandler to have Daily Log Rotation capabilities

XMLWordPrintable

      A DESCRIPTION OF THE REQUEST :
      There is no provision to have daily log rotation capabilities in java.logging.


      JUSTIFICATION :
      While Log4j has the capability to add a Daily Rotate appenders, java logging does not have one. This suppose this is quite a common request to many org's. This will also eliminate the class-loader issue for Custom handlers used in a app-server. Currently I can't use any custom handlers.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Log file rotates daily to the given format of the file.

      CUSTOMER SUBMITTED WORKAROUND :
      Can write custom handlers. Can put them in a common classpath..., but will mess up other applications that depend on this classpath.

      So... workaround.... Dont use Daily rotate handler or use log4j, or just go crazy.

            Unassigned Unassigned
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: