You need a log4j.properties file on your classpath, if you search for configuring log4j in google you should find advice on how to initialize log4j properly.
Thomas > -----Original Message----- > From: [email protected] [mailto:rules-users- > [email protected]] On Behalf Of aitchnyu > Sent: 30 January 2012 11:05 > To: [email protected] > Subject: [rules-users] How to enable logging in my application? > > I want to enable logging in my application. Since Drools planner uses log4j, > how > can I enable it's logging in my application? > > In the current form, my application runs as: > > jesvin@Jesvin-Technovia:~/dev/drools/sudoku$ java in.co.technovia.sudoku.App > log4j:WARN No appenders could be found for logger > (org.drools.planner.core.solver.DefaultSolver). > log4j:WARN Please initialize the log4j system properly. > > > -- > View this message in context: http://drools.46999.n3.nabble.com/How-to- > enable-logging-in-my-application-tp3699696p3699696.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users ************************************************************************************** This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the [email protected] and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary. NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00 ************************************************************************************** _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
