DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22055>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22055 Cannot catch PropertyConfigurator's IOException Summary: Cannot catch PropertyConfigurator's IOException Product: Log4j Version: 1.2 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Other AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I have tried to search through all previously submitted bugs for 1.2 and FAQs but have not found an answer to the following, which I think maybe a bug: 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]