Not that commons-logging is just a wrapper around multiple logging implementations. As such, configuring the logger implementation depends on which implementation you use. From your code it looks like you're using SimpleLog, and there's a link to configuration information in the Quick Start section of the user's guide.
-James
Koundinya (Sudhakar Chavali) wrote:
Hello All,
Have you ever worked on Apache Logging API??
I am facing aproblem in supressing the messages of API.
In my current project I am using apache's HttpClient API. By default it is using Apache commons-logging API.
In order to supress those messages, I know this condition should be used. (if (isLevelEnabled(SimpleLog.LOG_LEVEL_DEBUG)))
But I am not understanding how and where to write the related code in my API??
Do I need to set any properties file for this or any thing else. I just can't understand how to supress messages of Apache HTTP client
Your help needed
thanks sudhakar
=====
"No one can earn a million dollars honestly."- William Jennings Bryan (1860-1925)
"Make everything as simple as possible, but not simpler."- Albert Einstein (1879-1955)
"It is dangerous to be sincere unless you are also stupid."- George Bernard Shaw (1856-1950)
__________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
