I had posted the following bug but don't know if its truly a bug...
Sorry was not part of this mailing list earlier - so don't have any of the replies to
my post.
public static void main(String[] args) {
Logger lg = Logger.getLogger(TestLog.class);
try{
PropertyConfigurator.configure("C:\\tmp\\LogProps.txt");
lg.debug("Done configuring logger");
}catch(Exception e) {
System.out.println("Caught Exception: "+e.getMessage());
}
System.out.println("After props");
}//end main
If LogProps.txt does not exist or if it has syntax errors within, I cannot
catch those exceptions and take any corrective actions (viz. assuming
defaults).
-Chetan desai.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]