struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralf Bode <ralleb...@yahoo.de>
Subject Logging in own Classes
Date Sat, 17 Jan 2004 10:16:43 GMT
Hi all,

i want to log something
in my own classes (MyAction e.g.)

but i dont know how can i set Appenders etc.

in "normal" applications i can load
with:

PropertyConfigurator.configure("/WEB-INF/logging.properties");

log4j-settings but in struts (or is it tomcat?)
the file will be ignored...


okay there is LogFactory in struts.
but which logger do i "activate" ?
Log log = LogFactory.getLogger( ??? );
very strange ...

any one a idea what to do, do get my
"own"-logging-facility ? 

thanks

ralf

__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Mit Yahoo! Suche finden Sie alles: http://suche.yahoo.de

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message