*
The moose likes Java in General and the fly likes Issue in logging Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Issue in logging" Watch "Issue in logging" New topic
Author

Issue in logging

Nittin singla
Greenhorn

Joined: Jul 02, 2011
Posts: 24
I am using logback for the logging purpose in my application. There are some third party libraries imported in that application. the logging information of the third party application is going into tomcat log files not into the log files that i have specified in logback.xml. Can anyone help me out?
Jeff Verdegan
Bartender

Joined: Jan 03, 2004
Posts: 6109
    
    6

That's a pretty vague problem statement. Without knowing anything about your deployment or how you configured (or tried to configure) logback, it's impossible to say for sure.

As a guess, though, you either didn't put logback.xml in the right place, or else you need to set something else up to tell the core logging system explicitly to use logback. Or possibly your logback jar file is not in the right place, so it has to fall back on default logging.
Nittin singla
Greenhorn

Joined: Jul 02, 2011
Posts: 24
My logback.properties is in the correct place, it is logging all the info and error statements whichever i have specified in my application. But what i am asking is, it is not logging the events for the third party jars that I have included in my application. those are still going into the default tomcat logs.
Nittin singla
Greenhorn

Joined: Jul 02, 2011
Posts: 24
Also, I am not sure which logging framework those third party jars have used
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Issue in logging
 
Similar Threads
How to include third party jar files with in manifest file.
How to call a local class from a servlet?
Where should I keep my application's log files
What is MethodInterceptor in aopalliance?
weblogic 9.2+dll