2018-11-16

Exception while configure log4j 1.2 by java.util.Properties & PropertyConfigurator.configure


Scenario:

Exception while configure log4j 1.2  by  java.util.Properties & PropertyConfigurator.configure


log4j:WARN No appenders could be found for logger (com.test.TestLog).
log4j:WARN Please initialize the log4j system properly.


Searched by: WARN No appenders could be found for logger after PropertyConfigurator.configure java.util.Properties

found: Log4J warn please help me urgent - Experts Exchange
















Source URL: https://www.experts-exchange.com/questions/24432318/Log4J-warn-please-help-me-urgent.html


> after my application loading then my log file successfully creating file and writing what every error into the log file

because it is working fine, and is not causing your error

> but why that error is coming.....................

because other parts of the application are trying to use log4j before it is configured


No comments:

Google Referrals