instead of this code that prints the stack trace to the console try{ ... ... }catch(Exception e){ cat.error(e.getMessage()); e.printStackTrace(); } I would like to keep the stack trace in an appender (a file) that I have defined in log4j.properties How is it possible? Hadi --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]