Java Logger config file system property - TechRepublic
General discussion
April 18, 2005 at 09:03 AM
djn

Java Logger config file system property

by djn . Updated 21 years, 2 months ago

I have a Java Logger config file where I specify the location of output files as in java.util.logging.FileHandler.pattern = “${APP_LOG}/service%u.log.%g”
This does not work as it does not appear to resolve ${APP_LOG} as a system property. Is there a way specify a variable into the Logger config file?

This discussion is locked

All Comments