Versions Compared

Key

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

...

Excerpt
hiddentrue

WRITERS: The information on 'logging' was added to Carbon docs as a result of the following FAQ:/wiki/spaces/FAQ/pages/37781568. If you make changes to the content here, be sure to update it there as well.

Java logging and Log4j integration

In addition to the logs from libraries that use Log4j, all logs from libraries (such as, Tomcat, Hazelcast and more) that use Java logging framework are also visible in the same log files. That is, when Java logging is enabled in Carbon, only the Log4j appenders will write to the log files. If the Java Logging Handlers have logs, these logs will be delegated to the log events of the corresponding Log4j appenders. A Pub/Sub registry pattern implementation has been used in the latter mentioned scenario to plug the handlers and appenders. The following default log4j appenders in the log4j.properties file are used for this implementation:

...

For more information on appenders, loggers, their log levels and logging, see http://logging.apache.org/log4j.

See the following topics for more details on how to manage logging:

Table of Contents
maxLevel3
minLevel3
 

Configuring products for log monitoring

...