[rules-users] How to enable logging in my application? [Planner]

aitchnyu jesvinj at technovia.co.in
Mon Jan 30 06:56:23 EST 2012


Yes, copying a log4j.xml from the examples worked well. Thanks.


ge0ffrey wrote
> 
> 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 at 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
>> rules-users at .jboss
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
> 
> -- 
> With kind regards,
> Geoffrey De Smet
> 
> 
> _______________________________________________
> rules-users mailing list
> rules-users at .jboss
> https://lists.jboss.org/mailman/listinfo/rules-users
> 


--
View this message in context: http://drools.46999.n3.nabble.com/How-to-enable-logging-in-my-application-tp3699696p3699779.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list