Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Introduction

Colored Trails uses Apache log4J as a default logging mechanism. A short log4J manual can be found here.

In the Colored Trails code the log4J configuration file is located in

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:

import org.apache.log4j.Logger;

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

logger.debug("Example log statement");
  • No labels