Re: [Resin-interest] Sending log4j logs to the web apps log folder

2010-04-02 Thread Scott Ferguson
Stargazer wrote: If I have an entry in log4j.properties like this log4j.rootCategory=DEBUG, Console, R log4j.appender.R=org.apache.log4j.RollingFileAppender log4j.appender.R.File=log/mywebapp.log ... the logs from the webapp appear in $RESIN_HOME/log. Is there an entry I can use to get

Re: [Resin-interest] Sending log4j logs to the web apps log folder

2010-04-02 Thread Jon Stevens
I use this class to do JDK- commons-logging (which could either be modified to go directly to log4j or, just through CL and then to log4j)... import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.logging.Handler; import java.util.logging.Level; import

Re: [Resin-interest] Sending log4j logs to the web apps log folder

2010-04-02 Thread Scott Ferguson
Jon Stevens wrote: I use this class to do JDK- commons-logging (which could either be modified to go directly to log4j or, just through CL and then to log4j)... I think he needs the other way around, from log4j to java.util.logging (?) By the way, in Resin 4.0.6 you'll be able to do the same

Re: [Resin-interest] Sending log4j logs to the web apps log folder

2010-04-02 Thread Chris Pratt
Consider this another vote for a possible switch to using SLF4j as the Resin logging interface. It's a very thin API that is an extremely powerful aggregator of log information. (*Chris*) On Fri, Apr 2, 2010 at 12:57 PM, Jeff Schnitzer j...@infohazard.org wrote: I'm pretty sure that it's

Re: [Resin-interest] Sending log4j logs to the web apps log folder

2010-04-02 Thread Jeff Schnitzer
Why would you want Resin to log through slf4j? I actually think this would make a really big mess out of our apps, because now the slf4j jars would be provided for us and potentially cause conflicts. Resin provides a concrete logging system (in this case, j.u.l). We write our code using slf4j

[Resin-interest] Sending log4j logs to the web apps log folder

2010-04-01 Thread Stargazer
If I have an entry in log4j.properties like this log4j.rootCategory=DEBUG, Console, R log4j.appender.R=org.apache.log4j.RollingFileAppender log4j.appender.R.File=log/mywebapp.log ... the logs from the webapp appear in $RESIN_HOME/log. Is there an entry I can use to get them to appear in the