While working with log4j.jar to log various activity messages, many time you may face an Exception "No appenders could be found for logger (com.mchange.v2.resourcepool.BasicResourcePool)" on unix machine. The exception message on console screen looks like as:
log4j:WARN No appenders could be found for logger(com.mchange.v2.resourcepool.BasicResourcePool).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
This kind of exception is mostly generated when you are not giving absolute path in the "log4j.appender.[appender_name].file" attribute.
Exceptional Configuration
log4j:WARN No appenders could be found for logger(com.mchange.v2.resourcepool.BasicResourcePool).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
This kind of exception is mostly generated when you are not giving absolute path in the "log4j.appender.[appender_name].file" attribute.
Exceptional Configuration