Tomcat log problem

View: New views
2 Messages — Rating Filter:   Alert me  

Tomcat log problem

by James Annesley :: Rate this Message:

| View Threaded | Show Only this Message

Hi

I am using logback 1.0 with a tomcat web app. I can get the logger writing to console nicely. I cannot get my web app specific logback.xml to be read however. I had log4j working OK on this system previously. Using Logback-access it works but is this the only way? Can anyone help?

James


_______________________________________________
Logback-user mailing list
Logback-user@...
http://mailman.qos.ch/mailman/listinfo/logback-user

Re: Tomcat log problem

by Adam Gordon :: Rate this Message:

| View Threaded | Show Only this Message

Is the file located in your <web-app>/WEB-INF/classes directory?  If so, it should be getting picked up automatically.  Mine is.

--adam

http://gordonizer.com



On Thu, Jan 26, 2012 at 15:19, James Annesley <james@...> wrote:

Hi

I am using logback 1.0 with a tomcat web app. I can get the logger writing to console nicely. I cannot get my web app specific logback.xml to be read however. I had log4j working OK on this system previously. Using Logback-access it works but is this the only way? Can anyone help?

James


_______________________________________________
Logback-user mailing list
Logback-user@...
http://mailman.qos.ch/mailman/listinfo/logback-user


_______________________________________________
Logback-user mailing list
Logback-user@...
http://mailman.qos.ch/mailman/listinfo/logback-user