On 24/04/2012 13:26, FlyingEagle wrote:
Thx Ingo for your reply, but logging with KnowledgeRuntimeLogger is
not my
problem.
Suspect the SystemEventListener default implementation got changed. Make
have a dig around there, and provide your own impl.
Mark
This works fine.
Drools itself uses log4j for logging of its activites. These log entries are
very helpful for analyzing, what happens in Drools.
For example, I had the following output with the runtime 5.1.0, while
creating a new KnowledgeAgent:
[2012:04:115 14:04:889:info] ResourceChangeNotification created
[2012:04:115 14:04:889:info] ResourceChangeScanner created with default
interval=60
[2012:04:115 14:04:889:debug] ResourceChangeNotification monitor added
monitor=org.drools.io.impl.ResourceChangeScannerImpl@7f5580
[2012:04:115 14:04:889:debug] KnowledgeAgent building resource map
[2012:04:115 14:04:889:info] KnowledgeAgent created, with configuration:
monitorChangeSetEvents=true scanResources=true scanDirectories=true
newInstance=true
[2012:04:115 14:04:889:info] KnowledegAgent has started listening for
ChangeSet notifications
Using now the runtime 5.3.0 I have no such entries anymore.
--
View this message in context:
http://drools.46999.n3.nabble.com/Problem-with-logging-using-Drools-5-3-0...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users