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
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
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
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
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
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