tags:

views:

53

answers:

0
log4j:WARN No appenders could be found for logger ().<br/>
log4j:WARN Please initialize the log4j system properly.

The above message is shown and i would like to disable the logger if the log4j.properties cannot be found. How do i go about it?

BasicConfigurator.configure(); 

will output to console which is not what i want.