Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
borderStylesolid

lib/conf/log4j.properties

Logging to stdout (standard output)

Logging to MySQL

Instructions will follow soon

An example

Every Java class in the CT code can use the log4J mechanism. An example:

Code Block
TitleLog4J example

import org.apache.log4j.Logger;

Logger logger = Logger.getLogger(this.getClass().getName());

logger.debug("Example log statement");