Hi
I was just testing Log4J in standalone classes and
seems to that they work fine,
now i have to put it work in my intranet application,
so do i have to put these lines of code in each class
or servlet, or is there a work around.
In the manual there is one example of Initializing
servlet,
i implemented that servlet, and it is initilaized with
out error, then in my other servlet i wrote these
lines of code
Logger logger =
Logger.getLogger(this.getClass().toString());
logger.debug("Hello world from Log4J");
But i get error in my application server saying
log4j:WARN No appenders could be found for logger
(com.pfizer.maps.ConnectAS400).
log4j:WARN Please initialize the log4j system
properly.
so how can i make my class ConnectAS400 look for
Log4J.LCF
Ashish
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>