Logging
Comprehensive logging messages help you confirm system configuration and debug problems in configuration and code.
-
Apache Geode uses Apache Log4j 2 as the basis for its logging system.
Understanding Log Messages and Their Categories
System logging messages typically pertain to startup; logging management; connection and system membership; distribution; or cache, region, and entry management.
Naming, Searching, and Creating Log Files
The best way to manage and understand the logs is to have each member log to its own files.
-
You configure logging in a member’s
gemfire.properties
or at startup withgfsh
. Advanced Users—Configuring Log4j 2 for Geode
Basic Geode logging configuration is configured via the gemfire.properties file. This topic is intended for advanced users who need increased control over logging due to integration with third-party libraries.