Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to enable debug logging for external library class

843810Mar 1 2009 — edited Apr 13 2009
I'm working on a small console java app and was asked by a developer of an external library I'm using to enable debug-level logging for a certain class.
I'm relatively new to some areas of java, and to my shame, logging is one of them. I have log4j.properties file in my src directory, and it's configured to display debug-level messages, which I can see when they're emitted by my app. However, I get only INFO level messages from classes of the said library.

Could someone please share some wisdom and point me the way towards the light?
Google and forum search didn't help me, best I got were either tutorials & introductions to log4j or solutions of very specific problems.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 11 2009
Added on Mar 1 2009
3 comments
1,863 views