How to set logging level on JBoss?

Feb 2, 2011 at 10:47 PM

Can anyone tell me how to control Waffle logging on JBoss? All I can find are log4j settings.


Feb 3, 2011 at 3:16 AM

Isn't that the same as on any other server? I mean you modify log4j logging but in some central location? Does this page help?

Feb 4, 2011 at 3:39 PM

Yep, got it, thank you! I found log4j.xml in my application's directories and added this category:

    <category name="waffle">
        <priority value="debug"/>

Now my application log contains entries like this:

INFO  NegotiateSecurityFilter []: GET /myApp/secure/jsf/openProject.jsf, contentlength: -1
INFO  NegotiateSecurityFilter []: authorization required
INFO  NegotiateSecurityFilter []: GET /myApp/secure/jsf/openProject.jsf, contentlength: -1
INFO  NegotiateSecurityFilterProvider []: security package: Negotiate, connection id:
INFO  NegotiateSecurityFilterProvider []: token buffer: 1453 byte(s)
INFO  NegotiateSecurityFilterProvider []: continue token: oX8wfaADCgEBoQsGCSqGS...
INFO  NegotiateSecurityFilterProvider []: continue required: true