Sometimes you may not want to turn on DEBUG logging for the whole Yellowfin application because of the copious amounts of log files this will create - especially if you have to leave the DEBUG logging on for a long time.
Never fear! The answer is here!
It is possible to turn on DEBUG logging for individual classes, just add the following line to the log4j.properties file:
log4j.category.com.hof.mi.process.ReportBroadcastProcess=DEBUG
or more generally:
log4j.category.<insert full class name here>=DEBUG
To enable reportformat debug logging.
#Report Format logs in specific file.
log4j.appender.rptFormatLog=org.apache.log4j.RollingFileAppender
log4j.appender.rptFormatLog.File=${catalina.home}/logs/reportformat.log
log4j.appender.rptFormatLog.MaxFileSize=10240KB
log4j.appender.rptFormatLog.MaxBackupIndex=9
log4j.appender.rptFormatLog.layout = org.apache.log4j.PatternLayout
log4j.appender.rptFormatLog.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %5p: %m%n
log4j.category.com.hof.mi.manager.ReportFormatManager=DEBUG