log4j in multiple applications

2002-07-09 Thread kirusshna
Hi , I have three applications in a app server . I need to generate logs for each application in separate log files. Can I do this ? Thanks for help kirusshna -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

RE: Specifying exclusive log file for one category

2002-07-15 Thread kirusshna
java file , public static Logger log1 = null; public static Logger log2 = null log1 = Logger.getLogger("Log1"); log2 = Logger.getLogger("Log2"); and so u can call log1.debug or log2.error ... hope this will solve the problem. kirusshna -Original Message