Developing Apama Applications > Developing Apama Applications in Java > Overview of Apama JMon Applications > Logging in JMon applications
Logging in JMon applications
The logging facilities in JMon are provided by Log4j, a publicly available logging library for Java. These logging facilities are included in com.apama.util.Logger, for which Apama API for Java (JMon) Reference is provided.
Note: Full documentation for Log4j and the Apache Logging Service project can be found at http://logging.apache.org.
By default, the JMon classes will log at WARN level. The log level can be changed as described in the Javadoc for the Logger class. The Javadoc also provides instructions on how to get a reference to the Logger object in your own code so that you can produce your own logging output.
To ensure that the correlator can serialize logging behavior, specify that instances of Logger are static.
Copyright © Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its Subsidiaries and or/its Affiliates and/or their licensors.
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.