We use CC&B 2.8 (FW 4.4.0.3,) and we have some custom Java batch control programs that perform various tasks. In our Java code, we can create INFO log entries in STDOUT all day long using the com.splwg.shared.logging.LoggerFactory & Logger class. It would be nice to create DEBUG log entries as we do development that we can view in our development instance but do not clutter up the logs in the test & production environments. We have not found the right combination of .properties file settings and code to make that happen.
We have tried setting the root level & appender levels to DEBUG in various properties files. We have even tried explicitly setting the level in code using logger.setLevel(Level.DEBUG). Nothing we try produces the logger.debug() messages in STDOUT. We know setting the debug flags in Batch Job Submission and setting debug mode in the URL using the user interface (debug=true) aren't useful for this purpose.
How do you enable debug messages to get written to STDOUT in this situation?