Greetings, I wondering how to use log4j in ejb but I have a few questions about it's use.
1)to separate and isolate contexts, I should have a log4j.jar and a log4.xml/log4j.properties in each application (ejb,war,ear) instead using a common shared log4j? 2)usually in WAR files, I used a servlet loaded on startup just for initialize log4j.xml/log4j.properties. In EJB, where (in what method) should I init the log4j? Should I still use a servlet in a war file for that? 3)The EJB specification says that an EJB should not perform file I/O. So, if I log something in log4j and if I have a FileAppender on my category, it could result some problems? If true, should I eliminate teh FileAppender or there is any way to avoid or deactivate the FileAppender just for that logger? thanks, Pedro Salazar. -- PS [EMAIL PROTECTED] PGP:0E129E31D803BC61 =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
