Enabling additional logging in Fisheye/Crucible
Purpose
Depending on the issue, it may be required to increase the log level in Fisheye/Crucible for a particular set of classes.
If you have been asked to turn on Debug Logging, you can enable this by going to the Fisheye Admin Page > Global Settings > Server > Debug Logging. General Debug Logging does not require a restart and is usually a good place to start. This page contains the list of the available loggers and their usage that augment the general Debug Logging.
SQL logging
This may be required when some pages/actions are slow to load and more details about the queries are required.
Procedure
- Add the following block of code to your
<FishEye install directory>/log4j.xml
file:
<logger name="org.hibernate.type">
<level value="trace"/>
</logger>
<logger name="org.hibernate.SQL">
<level value="DEBUG"/>
</logger>
- Restart Fisheye/Crucible
On this page