[slf4j-user] slf4j logger -> Servlet container log : How to?

Jacob Kjome hoju at visi.com
Tue May 11 18:00:43 CEST 2010


It's possible via Log4j.  See...
http://svn.apache.org/repos/asf/logging/sandbox/log4j/log4j_sandbox/tags/LOG4J_SANDBOX_ALPHA3/src/java/org/apache/log4j/servlet/

specifically...

ServletContextLogAppender.java
ServletContextLogAppenderListener.java


This is all referenced from...
http://wiki.apache.org/logging-log4j/AppContainerLogging

Jake

On Tue, 11 May 2010 17:29:46 +0200
  Thorbjoern Ravn Andersen <ravn at runjva.com> wrote:
> I would like to use slf4j logging ending up in the servlet container log, 
>which I believe needs to go through ServletContext.log("...");
> 
> Is this currently possible at all?
> -- 
> 
>   Thorbjørn Ravn Andersen  "...plus... Tubular Bells!"
> 
> _______________________________________________
> slf4j-user mailing list
> slf4j-user at qos.ch
> http://qos.ch/mailman/listinfo/slf4j-user
> 



More information about the slf4j-user mailing list