Apama 10.3 | Apama Documentation | 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. See the API Reference for Java (Javadoc).
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 © 2013-2018 | 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.