= Logging =
== Tomcat Access Logs ==
In server/default/deploy/jboss-web.sar/server.xml look for the commented out access logger (search for "Access logger").
Replace
{{{
}}}
with the following:
{{{
}}}
== Setting logging levels ==
During development and configuration seeing more debugging information on the console and the logs is very useul.
The log configuration is in server/default/conf/jboss-log4j.xml and uses a system property to set the console log level.
You can pass the -Djboss.server.log.threshold=DEBUG parameter while starting the server:
{{{
./run.sh -c default -Djboss.server.log.threshold=DEBUG
}}}
Added a category to conf/jboss-log4j.xml
{{{
}}}
Also changed the console appender
{{{
}}}
You're now flooded with jboss output so uncommented out the setting of the jboss level:
{{{
}}}
and remove this
{{{
}}}
Hibernate is very noisy too so
{{{
}}}
and these
{{{
}}}