SCRITTURA: Selectively setting DEBUG log level for certain classees

  • KM03049382
  • 18-Dec-2017
  • 18-Dec-2017

This document has not been formally reviewed for accuracy and is provided "as is" for your convenience.

Summary

Example of how to set up debug level logging for certain classes

Question

This can be set up in the scrittura log.cfg file very easily . 
In the example below the logging is set to INFO level mode, yet the two classes com.ipicorp.mvc.Controller and com.ipicorp.workflow.engine.WorkflowEngine (highlighted in yellow) are set as debug
 
# LEVELS: fatal, error, warn, info, debug
log4j.rootCategory=INFO, R, HPcritical, HPmajor
 
log4j.category.com.ipicorp.mvc.Controller=DEBUG
log4j.category.com.ipicorp.workflow.engine.WorkflowEngine=DEBUG