Re: swallowOutput not working properly?

2009-08-16 Thread Eric B.
Filip Hanik - Dev Lists devli...@hanik.com wrote in message news:4a8639f7.50...@hanik.com... I ran some additional tests this afternoon to try to discover some pattern, and noticed the following. Using a very basic app, I noticed that upon startup, a listener does not have its output

Re: swallowOutput not working properly?

2009-08-14 Thread Mark Thomas
Eric B. wrote: Hi, I'm trying to get Tomcat to log the output each context individually in its own log file. I tried using the swallowOutput in my context object definition, but am getting some really weird results from it. My webapp uses log4j to do its logging with its own log4j.xml

Re: swallowOutput not working properly?

2009-08-14 Thread Eric B.
Mark Thomas ma...@apache.org wrote in message news:4a85f872.7040...@apache.org... Eric B. wrote: Based on that configuration (and swallowOutput documentation) I would expect that all logging from my root context would therefor go through 6root.org.apache.juli.FileHandler log file.

Re: swallowOutput not working properly?

2009-08-14 Thread Filip Hanik - Dev Lists
On 08/14/2009 09:57 PM, Eric B. wrote: Mark Thomasma...@apache.org wrote in message news:4a85f872.7040...@apache.org... Eric B. wrote: Based on that configuration (and swallowOutput documentation) I would expect that all logging from my root context would therefor go through

swallowOutput not working properly?

2009-08-13 Thread Eric B.
Hi, I'm trying to get Tomcat to log the output each context individually in its own log file. I tried using the swallowOutput in my context object definition, but am getting some really weird results from it. My webapp uses log4j to do its logging with its own log4j.xml file within the webapp,

Re: swallowOutput not working properly?

2009-08-13 Thread Eric B.
Eric B. ebe...@hotmail.com wrote in message news:h61n91$r1...@ger.gmane.org... I tried using the swallowOutput in my context object definition, but am getting some really weird results from it. My webapp uses log4j to do its logging with its own log4j.xml file within the webapp, and all

Re: swallowOutput not working properly?

2009-08-13 Thread Filip Hanik - Dev Lists
Tomcat doesn't use log4j in v6 in its standard distribution. You have to build an adapter for that Filip On 08/13/2009 12:49 PM, Eric B. wrote: Hi, I'm trying to get Tomcat to log the output each context individually in its own log file. I tried using the swallowOutput in mycontext object

Re: swallowOutput not working properly?

2009-08-13 Thread Eric B.
Filip Hanik - Dev Lists devli...@hanik.com wrote in message news:4a84706e.2040...@hanik.com... Tomcat doesn't use log4j in v6 in its standard distribution. You have to build an adapter for that I don't understand at all. Can you please clarify? All I am trying to accomplish is have the

Re: swallowOutput not working properly?

2009-08-13 Thread Eric B.
Hi Martin, 3 main items for Log4J are##CONSOLE# A1 uses PatternLayout.log4j.appender.A1.layout=org.apache.log4j.PatternLayoutlog4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n# A1 is set to be a Appender.log4j.appender.A1=org.apache.log4j.ConsoleAppender# Set root

Re: swallowOutput not working properly?

2009-08-13 Thread Filip Hanik - Dev Lists
On 08/13/2009 02:09 PM, Eric B. wrote: Filip Hanik - Dev Listsdevli...@hanik.com wrote in message news:4a84706e.2040...@hanik.com... Tomcat doesn't use log4j in v6 in its standard distribution. You have to build an adapter for that I don't understand at all. Can you please

Re: swallowOutput not working properly?

2009-08-13 Thread Eric B.
Filip Hanik - Dev Lists devli...@hanik.com wrote in message news:4a849e55.1030...@hanik.com... On 08/13/2009 02:09 PM, Eric B. wrote: Filip Hanik - Dev Listsdevli...@hanik.com wrote in message news:4a84706e.2040...@hanik.com... Tomcat doesn't use log4j in v6 in its standard distribution.