Re: tomcat log4j
simonC wrote:
I use log4j for logging in my java web application. I use Tomcat as a
servlet container. The problem is that both the output of Tomcat
logging and my web application logging is send to stdout and the
output becomes very messy.
I would like that the loging of tomcat would not be output to stdout.
So that in stdout i would have only logs of my web application.
Hou can I set up Tomcat to achive that?
Set up a log4j.properties file that directs logging output where you want it
to go.
--
Lew
.
Relevant Pages
- Re: tomcat log4j
... logging and my web application logging is send to stdout and the ... I would like that the loging of tomcat would not be output to stdout. ... log messages. ... (comp.lang.java.programmer) - tomcat log4j
... I use log4j for logging in my java web application. ... servlet container. ... The problem is that both the output of Tomcat ... I would like that the loging of tomcat would not be output to stdout. ... (comp.lang.java.programmer) - [CVE-2007-5342] Apache Tomcats default security policy is too open
... Tomcat's default security policy is too open ... Tomcat 5.5.9 to 5.5.25 ... The JULI logging component allows web applications to provide their own ... The patch will be included in 5.5.25 onwards and 6.0.16 onwards ... (Bugtraq) - subprocess.Popen() output to logging.StreamHandler()
... My goal is to have stdout and stderr written to a logging handler. ... StreamHandler instance has no attribute 'fileno' ... This is because subprocess.Popenexpects file descriptors to write ... (comp.lang.python) - Re: How to redirect stdout&stderr into files in Tomcat 4.1.29 on RedHat 9 ?
... Tomcat creates a file called catalina.out in %CATALINA_HOME%/logs/ this ... will give you the output of stdout as far as I am aware. ... But for debugging purposes it seems much better to use a logging ... component such as Jakarta Commons Logging ... (comp.lang.java.programmer) |
|