Set the logging level appropriately to enable logging in
vamessages.log.
-
Edit
$RUNTIME/jboss/bin/jboss-cli.sh
to enable logging in vamessages.log.
Note: You need
not
restart
the site for JBoss to pick up these changes.
-
To change log
levels,
as a root user, perform the following:
-
To enable debug logging, run the following command:
/subsystem=logging/root-logger=ROOT:change-root-log-level(level=DEBUG)
-
To disable debug logging, run the following command:
/subsystem=logging/root-logger=ROOT:change-root-log-level(level=INFO)
-
To change log levels using your LDAP credentials, perform the following:
-
To enable debug logging, run the following command:
/subsystem=logging/logger=com.vasoftware:write-attribute(name="level",
value="DEBUG")
-
To disable debug logging, run the following command:
/subsystem=logging/logger=com.vasoftware:write-attribute(name="level",
value="INFO")
-
To enable trace logging for LDAP, run the following command:
/subsystem=logging/logger=org.jboss.security.auth.spi.LdapExtLoginModule:add(level=TRACE,handlers=["VAFILE"])
-
To disable trace logging for LDAP, run the following command:
/subsystem=logging/logger=org.jboss.security.auth.spi.LdapExtLoginModule:remove()
Tip: The LDAP debug output will be very limited unless you add
<module-option name="throwValidateErrors"
value="true"></>to the entry for the corresponding log-in
module.