Hello Jonathan, this message appears when the log4j.xml|properties file could not be found on your classpath. Usually it should be at src/main/resources, this folder visible as classpath folder on eclipse.
However you can start your app with -Dlog4j.debug=true to spot out at which locations your configuration is searched Your pom.xml is a maven file and should not have any impact on log4j (except you need the dependency of course). Same is true for eclipse. Only th elocation of your config file is important. Cheers On Sat, Apr 23, 2011 at 6:53 PM, Jonathan Camilleri <[email protected]> wrote: > Hi, > Any idea why my logger is not logging (see Deck.java). Error message: > log4j:WARN No appenders could be found for logger (poker.Deck). > log4j:WARN Please initialize the log4j system properly. > log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for > more info. > TWO of CLUBS > Having, googled the issue, I tried adding pom.xml to the directory where the > source code files reside. I am using Eclipse 3.6.2, which has an intricate > way of adding JARs to my project. > Any ideas? > > -- > Jonathan Camilleri > > Mobile (MT): 00356 7982 7113 > E-mail: [email protected] > Please consider your environmental responsibility before printing this > e-mail. > > I usually reply to e-mails within 2 business days. If it's urgent, give me > a call. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- http://www.grobmeier.de --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
