Re: Log4j vs JULI configuration discrepancy

2009-08-13 Thread Eric B.
"Eric B." wrote in message news:h5um4f$jh...@ger.gmane.org... > "Mark Thomas" wrote in message > news:4a7c9110.50...@apache.org... >> Eric B. wrote: >>> Is there a workaround for this, or just one of those things that you >>> have to >>> learn to live with? >> >> In catalina.properties, modify

Re: Log4j vs JULI configuration discrepancy

2009-08-12 Thread Eric B.
"Mark Thomas" wrote in message news:4a7c9110.50...@apache.org... > Eric B. wrote: >> Is there a workaround for this, or just one of those things that you have >> to >> learn to live with? > > In catalina.properties, modify the following entry as shown: > common.loader=${catalina.base}/lib,${cata

Re: Log4j vs JULI configuration discrepancy

2009-08-12 Thread Eric B.
"Caldarale, Charles R" wrote in message news:0aae5ab84b013e45a7b61cb66943c17229b6492...@usea-exch7.na.uis.unisys.com... >> I don't understand why when using Juli anything that webapp's log4j >> logs to Stdout gets logged to a file, however, when using log4j with >> tomcat this behaviour isn't repl

RE: Log4j vs JULI configuration discrepancy

2009-08-11 Thread Caldarale, Charles R
> From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B. > Subject: Re: Log4j vs JULI configuration discrepancy > > I don't understand why when using Juli anything that webapp's log4j > logs to Stdout gets logged to a file, however, when using log4j with >

Re: Log4j vs JULI configuration discrepancy

2009-08-11 Thread Eric B.
"Christopher Schultz" wrote in message news:4a8223c7.1030...@christopherschultz.net... >> My webapp uses log4j to log data to stdout. When using Juli (in the >> default >> configuration), everything that is displayed in stdout is logged to >> catalina.out. However, when I switch to log4j, this

Re: Log4j vs JULI configuration discrepancy

2009-08-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric, On 8/11/2009 5:25 PM, Eric B. wrote: > My webapp uses log4j to log data to stdout. When using Juli (in the default > configuration), everything that is displayed in stdout is logged to > catalina.out. However, when I switch to log4j, this do

Re: Log4j vs JULI configuration discrepancy

2009-08-11 Thread Eric B.
"Mark Thomas" wrote in message news:4a7c9110.50...@apache.org... > Eric B. wrote: >> Hi, >> > In catalina.properties, modify the following entry as shown: > common.loader=${catalina.base}/lib,${catalina.home}/lib,${catalina.home}/lib/*.jar > > then you can place log4j.properties in CATALINA_BASE/

Re: Log4j vs JULI configuration discrepancy

2009-08-07 Thread Eric B.
"Mark Thomas" wrote in message news:4a7c9110.50...@apache.org... > Eric B. wrote: >> Hi, >> >> In JULI, the logging.properties file can be place in >> ${catalina.base}/conf/logging.properties, whereas Log4j expects it in >> ${catalina.home}/lib/log4j.properties. I am assuming that it is log4j >

Re: Log4j vs JULI configuration discrepancy

2009-08-07 Thread Mark Thomas
Eric B. wrote: > Hi, > > I'm not sure if there is anything that can be done about this, but I just > tried switching from Tomcat's standard JULI logging to Log4j implementation > following the docs at http://tomcat.apache.org/tomcat-6.0-doc/logging.html. > Overall, everything works as expected, al

Log4j vs JULI configuration discrepancy

2009-08-07 Thread Eric B.
Hi, I'm not sure if there is anything that can be done about this, but I just tried switching from Tomcat's standard JULI logging to Log4j implementation following the docs at http://tomcat.apache.org/tomcat-6.0-doc/logging.html. Overall, everything works as expected, although I found one signfici