Raghuveer wrote:
> I am getting below error.
>   

I'm baffled as to why you'd creating your logger like that, but that's a
different issue--like Adam said, check out the docs on the Log4J site;
the "Quick Start" should be enough to get you going.

Bottom line is you need a Log4J config file on your classpath. For
webapps it's usually /WEB-INF/classes.

> 06/04/18 20:50:01 log4j:WARN No appenders could be found for logger
> (org.apache.struts.util.PropertyMessageResource
> s).
> 06/04/18 20:50:01 log4j:WARN Please initialize the log4j system properly.
>   

As an aside, that's not an error. It's a warning, saying "I couldn't
find a config file." If you don't care about being able to set
up/define/set debug levels of/etc. other loggers then it doesn't
matter--that's why it's a warning, not an error.

Dave



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to