You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by sachin chaudhari <ch...@hotmail.com> on 2002/05/10 01:00:01 UTC
tomcat 4 logger does not work for me!
Hi
I added a logger to my context & in my servlet I added
log("my string")
But I don't get the log file at all. What am I doing wrong? The code does
compile so it means its finding the class for log() method. Do I need to
copy any jar file so that log() method of FileLogger class is called?
<Context path="/econnector" docBase="econnector" debug="9"
reloadable="true">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="tomcat_log" suffix=".txt"
directory="/webapps/econnector/logs"
timestamp="true"/>
<Manager className="org.apache.catalina.session.PersistentManager"
debug="9"
saveOnRestart="true"
maxActiveSessions="-1"
minIdleSwap="-1"
maxIdleSwap="-1"
maxIdleBackup="-1">
<Store className="org.apache.catalina.session.FileStore"/>
</Manager>
</Context>
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>