Apache Log4cxx  Version 1.6.0
Loading...
Searching...
No Matches
Disabling Console Color

There are several ways to disable colored console output:

  1. Setting the environment variable LOG4CXX_COLOR to the value false
  2. If using a properties file, add the line log4j.color=false to your file
  3. If using an XML file, add the color="false" attribute in the log4j.configuration element
  4. Configure the library programmatically by calling LogLog::setColorEnabled