On Wed, Apr 23, 2014 at 10:49 AM, Mark Lawson <[email protected]> wrote:
> 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?
>

There is a log4j.properties in the WAR file you need to adjust for logging.

Or some way remove log4j and whatnot from the WAR and use tomcat
logging. Though that is a general WAR in Tomcat problem. How to use a
central log configuration file. You can likely search the web for
answers about that.

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



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to