In my webapp's context I configured a logger:

  <Logger className="org.apache.catalina.logger.FileLogger"
      prefix="localhost_gargantus_log."
      suffix=".txt"
      timestamp="true" />

I changed over from using log4j to using the native java.util.logging package, and I have lost the ability to write to this logger in my context. Instead, java.util.logging logs to the file I specify (or a default) in its own configuration file.

How come log4j was able to direct logging to the tomcat logger above? Can I get java.util.logging to do that?

Tomcat will catch java.util.logging output if I use this:

  <Logger className="org.apache.catalina.logger.SystemOutLogger"
      description="logs to catalina.out in tomcat logs dir" />

Can anybody shed some light on this situation?

Thanks
Adam

--
struts 1.1 + tomcat 5.0.16 + java 1.4.2
Linux 2.4.20 Debian


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to