...
Code Block | ||
---|---|---|
| ||
lib/conf/log4j.properties
|
Logging to stdout (standard output)
In Colored Trails Log4J is configured to log all log statements (debug and lower) to stdout.
Logging to MySQL
Instructions will follow soon
...
Code Block | ||
---|---|---|
| ||
import org.apache.log4j.Logger;
Logger logger = Logger.getLogger(this.getClass().getName());
logger.debug("Example log statement");
|