[rules-users] instance level logger

Esteban Aliverti esteban.aliverti at gmail.com
Tue Sep 21 13:25:55 EDT 2010


You can take a look at org.drools.audit.WorkingMemoryFileLogger (the default
file logger) and create your own class that implements WorkingMemoryLogger
or even extends WorkingMemoryFileLogger.



Best,

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com


On Tue, Sep 21, 2010 at 5:03 AM, marton.bokor <marton.bokor at gfthu.com>wrote:

>
> Hi All,
> I have
> logger = KnowledgeRuntimeLoggerFactory.newFileLogger(ksession, "rulelog");
>
> But actually I would like to create audit logs for all process instances
> with a different file name.
> Is it possible to create log files per process instance.
> Or the only way to do this is to create a seperate session for all
> processes?
> Is it possible to close the log file automatically when a process flow has
> finished it's execution.
>
> Thanks,
> Marton
> --
> View this message in context:
> http://drools-java-rules-engine.46999.n3.nabble.com/instance-level-logger-tp1533864p1533864.html
> Sent from the Drools - User mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100921/919a547a/attachment.html 


More information about the rules-users mailing list