[logback-user] Getting tomcat logs through Logback

Pradnya Gawade pradnya.gawade7 at gmail.com
Thu Dec 2 23:54:25 CET 2010


I mean all tomcat logs related to the web application deployment as
well as any error logs during the operation. I will take a look at
this reference of tomcat access logs. Thanks.

- Pradnya



On Thu, Dec 2, 2010 at 4:06 PM, Ceki Gülcü <ceki at qos.ch> wrote:
>
> What do you mean by Tomcat logs? The http access log?
> If so, please see http://logback.qos.ch/access.html
>
> On 02/12/2010 6:54 PM, Pradnya Gawade wrote:
>>
>> Hi,
>>
>> I want to get the tomcat logs through logback. I got following
>> reference related to it and planning to try it, the only difference in
>> my case would be a Syslog appender instead of a log file:
>> http://tomcat.apache.org/tomcat-6.0-doc/logging.html#log4j
>>
>> This approach required doing some changes in tomcat lib directory etc.
>>
>> I know Logback provides bridging to legacy APIs like java.util.logging
>> http://www.slf4j.org/legacy.html
>>
>> I used jul-to-slf4j bridge to get the liquibase logs into my web
>> application log file. Similarly does Logback provide some thing to get
>> tomcat logs through logback. It is OK with me to get the copy of
>> tomcat logs and tomcat also logging to to its own log files
>> separately. Tomcat uses common logging internally. If I could get some
>> way in which user don't have to make any changes in the tomcat
>> configuration before/after the application deployment then it will  be
>> great. Any inputs?
>>
>> Thanks,
>> Pradnya
>
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://qos.ch/mailman/listinfo/logback-user
>


More information about the Logback-user mailing list