Using log4j.xml (or better yet, logback.xml) is described in the manual:
   
http://docs.jboss.org/drools/release/5.4.0.Beta1/drools-planner-docs/html_single/index.html#d0e2450
A couple of weeks ago, I even improved that section for 5.4.0.Beta2 
which will be out soon.

Op 30-01-12 12:04, aitchnyu schreef:
> 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
>

-- 
With kind regards,
Geoffrey De Smet


_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to