Developing Apama Applications > Developing Apama Applications in Java > Overview of Apama Java Applications > Logging in Java applications
Logging in Java applications
The logging facilities in Java are provided by Log4j, a publicly available logging library for Java. These logging facilities are included in com.apama.util.Logger, for which Apama Java API 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 Java 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 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.