-
Enhancement
-
Resolution: Unresolved
-
P4
-
1.4.2, 6
-
Cause Known
-
x86
-
windows_xp
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.
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.
- duplicates
-
JDK-6467085 Each day log file rotation in java.util.logging.FileHandler
-
- Closed
-