Looking for the old docs site? You can still view it for a limited time here.

Configure Fusion Logging in Fusion 4.0

Fusion uses the Apache Log4j 2 logging framework with Jetty to log each of the Fusion components.

Logging is configured with an XML configuration file named log4j2.xml. Log levels, frequencies, and log rotation policy can be configured by changing these configuration files:

API service

VAR-FUSIONPATH/conf/api-log4j2.xml

Connectors

VAR-FUSIONPATH/conf/connectors-classic-log4j2.xml

VAR-FUSIONPATH/conf/connectors-rpc-agent-log4j2.xml

VAR-FUSIONPATH/conf/connectors-rpc-log4j2.xml

Solr

VAR-FUSIONPATH/conf/solr-log4j2.xml

Spark

VAR-FUSIONPATH/conf/spark-driver-launcher-log4j2.xml

VAR-FUSIONPATH/conf/spark-driver-log4j2.xml

VAR-FUSIONPATH/conf/spark-driver-scripted-log4j2.xml

VAR-FUSIONPATH/conf/spark-master-agent-log4j2.xml

VAR-FUSIONPATH/conf/spark-master-log4j2.xml

VAR-FUSIONPATH/conf/spark-worker-agent-log4j2.xml

VAR-FUSIONPATH/conf/spark-worker-log4j2.xml

SQL

VAR-FUSIONPATH/conf/sql-agent-log4j2.xml

VAR-FUSIONPATH/conf/sql-log4j2.xml

UI

VAR-FUSIONPATH/conf/admin-ui-log4j2.xml

ZooKeeper

VAR-FUSIONPATH/conf/zk-log4j2.xml

Other Fusion services

VAR-FUSIONPATH/conf/proxy-log4j2.xml

The Log4j2 Configuration guide provides documentation and examples of all logging configuration options.