[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1020) Configurable Drools event listeners (primarily for debug logging)

Christian Bauer (JIRA) jira-events at lists.jboss.org
Fri Mar 9 17:33:27 EST 2007

    [ http://jira.jboss.com/jira/browse/JBSEAM-1020?page=comments#action_12355680 ] 
Christian Bauer commented on JBSEAM-1020:

Oh, it's printing on on System.err... but only stuff like that:

23:29:14,580 ERROR [STDERR] [ObjectAsserted: handle=[fid:5:30]; object=org.jboss.seam.security.PermissionCheck at 341d9a]
23:29:14,580 ERROR [STDERR] [ObjectAsserted: handle=[fid:6:31]; object=News]
23:29:14,580 ERROR [STDERR] [ObjectModified: handle=[fid:5:32]; old_object=org.jboss.seam.security.PermissionCheck at 341d9a; new_object=org.jboss.seam.security.PermissionCheck at 341d9a]
23:29:14,581 ERROR [STDERR] [ObjectRetracted: handle=[fid:5:32]; old_object=org.jboss.seam.security.PermissionCheck at 341d9a]
23:29:14,581 ERROR [STDERR] [ObjectRetracted: handle=[fid:6:31]; old_object=News]
23:29:14,581 ERROR [STDERR] [ObjectAsserted: handle=[fid:6:33]; object=org.jboss.seam.security.PermissionCheck at 577f8b]
23:29:14,581 ERROR [STDERR] [ObjectAsserted: handle=[fid:5:34]; object=Welcome!]
23:29:14,581 ERROR [STDERR] [ObjectRetracted: handle=[fid:6:33]; old_object=org.jboss.seam.security.PermissionCheck at 577f8b]
23:29:14,581 ERROR [STDERR] [ObjectRetracted: handle=[fid:5:34]; old_object=Welcome!]

Looking for a way to debug the LHS of a rule in more detail.

> Configurable Drools event listeners (primarily for debug logging)
> -----------------------------------------------------------------
>                 Key: JBSEAM-1020
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1020
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: Security
>            Reporter: Christian Bauer
>         Assigned To: Shane Bryzak
>            Priority: Minor
> I want to see what is going on when my rules are evaluated, according to the Drools docs this is how:
>                 workingMemory.addEventListener( new DebugWorkingMemoryEventListener() );
> I have to do that in code right now, would be nice to be able to configure the identity component externally in config file. It also doesn't work, at least not in JBoss with a WAR deployment. I don't see any debug printed on System.out. Task: Ask the drools guys how we get logging for Seam users.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list