How do I turn on debug logging within Yellowfin?

Yellowfin has a number of different logging facilities for different parts of the application. In a standard installation, these are located in the directory: Yellowfin/appserver/logs/

The main Yellowfin application log is named yellowfin.log, and contains error and warning messages and information about what Yellowfin is doing. This can be useful to help diagnose problems. In some cases a finer level of detail is helpful. Yellowfin can be configured to log additional debugging information to this file. To do this, find the filelog4j.properties, located at:

Yellowfin/appserver/webapps/ROOT/WEB-INF/log4j.properties

Towards the top of the file, find the line:

# uncomment to set everything under com.hof to debug
# log4j.category.com.hof=DEBUG

And uncomment the line by removing the leading :

log4j.category.com.hof=DEBUG

Save this file and Yellowfin will pick up the change and start DEBUG logging in a minute or two. Debugging information will now be logged to yellowfin.log, along with all the information that was previously logged.

Generally you will not need to do this unless directed to do so by Yellowfin support. With debug logging turned on these log files will grow quite quickly, especially on a system with a large number of users. After you are finished debugging your problem, it's best to add the # back to disable debugging.

Disable debug logging by adding the # back in front of the line above:

# log4j.category.com.hof=DEBUG

Failure to disable this can lead to difficulty in maintaining a good window of logs to diagnose future issues.

*After commenting the line you need to restart Yellowfin Server. If incase you cannot restart the Yellowfin Server, then instead of commenting the line, replace DEBUG with INFO, this will help to stop the DEBUG logging.

Is article helpful?