I am using a log4j for my standalone Java Project.
I am not able to configure log4j.properties file with configure method of PropertyConfigurator class.
log4j.properties file is present in the one of package in the same project. I am giving Relative path in the configure method as shown below.
log4j:WARN No appenders could be found for logger
log4j:WARN Please initialize the log4j system properly.
Above error usually comes when log4j is not in the class path. I tried placing log4j.properties directly under the project folder but getting the same error.
Could anyone please help me what is the wrong.
Thanks in Advance.
Don't count your weasels before they've popped. And now for a mulberry bush related tiny ad: