-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
6u10
-
x86
-
windows_xp
FULL PRODUCT VERSION :
JDK 1.6.0_17-b04
ADDITIONAL OS VERSION INFORMATION :
Windows XP SP2
A DESCRIPTION OF THE PROBLEM :
Am trying to set the directory where the log file should be written using standard system property syntax, but the java.util.logging.FileHandler does not appear to recognize/parse system properties.
java.util.logging.FileHandler.pattern=${cataline.home}/logs/file%u.log
This goes against the grain of every other java based logging mechanism.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. java.util.logging.FileHandler.pattern=${cataline.home}/logs/file%u.log
2. Run an application that uses the logger.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I expect that the ${catalina.home} gets evaluated.
ACTUAL -
The FileHandler only tries to parse/substitute its own limited set of special variables (i.e. %h, etc.)
REPRODUCIBILITY :
This bug can be reproduced always.
JDK 1.6.0_17-b04
ADDITIONAL OS VERSION INFORMATION :
Windows XP SP2
A DESCRIPTION OF THE PROBLEM :
Am trying to set the directory where the log file should be written using standard system property syntax, but the java.util.logging.FileHandler does not appear to recognize/parse system properties.
java.util.logging.FileHandler.pattern=${cataline.home}/logs/file%u.log
This goes against the grain of every other java based logging mechanism.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. java.util.logging.FileHandler.pattern=${cataline.home}/logs/file%u.log
2. Run an application that uses the logger.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I expect that the ${catalina.home} gets evaluated.
ACTUAL -
The FileHandler only tries to parse/substitute its own limited set of special variables (i.e. %h, etc.)
REPRODUCIBILITY :
This bug can be reproduced always.