I know I can use command line
>
java -Djava.util.logging.config.file=myfile
to specify a custom property file.
How to do this in the java code?
I tried
System.setProperty("java.util.logging.config.file", "mylog.properties");
it does not work.
Thanks.
BJ - SCJP and SCWCD
We love Java programming. It is contagious, very cool, and lot of fun. - Peter Coad, Java Design
Crazy Bikes created by m-Power