Hello Mark

Camel uses SLF4J as logging framework and you can use any compatible
logging implementation (log4j, logback, ...).

For one stop shop solution for Tomcat check my project:
https://github.com/grgrzybek/tomcat-slf4j-logback
With correct ZIP archive available here:
https://sourceforge.net/projects/tc-slf4jlogback/files/ you can configure
Tomcat to use SLF4J+Logback and the instructions will help you configure
your Web application to use separate logging configuration.

regards
Grzegorz Grzybek


2014-04-23 10:49 GMT+02:00 Mark Lawson <[email protected]>:

> Hi,
> I'm using the servlet example from camel 2.12 with Tomcat 7. It works fine,
> but I can't get logging to work. Neither <log message="something"> or <to
> uri="log:something"/> turn up in catalina.out or the log file.
> I assume it's something about log4j but it's proving hard to find.
> Any ideas?
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Logging-in-servlet-example-tp5750476.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to