Annotation Interface EnableLogging
@Target(TYPE)
@Retention(RUNTIME)
@Inherited
@Documented
@Import(LoggingConfiguration.class)
@UsesGemFireProperties
public @interface EnableLogging
The
EnableLogging
annotation marks a Spring @Configuration
annotated Class
to configure and enable Pivotal GemFire/Apache Geode system logging.- Since:
- 1.9.0
- Author:
- John Blum
- See Also:
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionint
Maximum size in megabytes of all inactive log files combined.File to which a running system member writes log messages.int
Maximum size in megabytes of a log file before it is closed and logging rolls on to a new (child) log file.Level of detail of the messages written to the system member’s log.
-
Element Details
-
logDiskSpaceLimit
int logDiskSpaceLimitMaximum size in megabytes of all inactive log files combined. If this limit is exceeded, inactive log files are deleted, oldest first, until the total size is within the limit. If set to zero, disk space use is unlimited. Defaults to 0 MB. Use the spring.data.gemfire.logging.log-disk-space-limit property in application.properties.- Default:
- 0
-
logFile
String logFileFile to which a running system member writes log messages. Logs to standard out by default. Defaults to unset. Use the spring.data.gemfire.logging.log-file property in application.properties.- Default:
- ""
-
logFileSizeLimit
int logFileSizeLimitMaximum size in megabytes of a log file before it is closed and logging rolls on to a new (child) log file. If set to 0, log rolling is disabled. Defaults to 0 MB. Use the spring.data.gemfire.logging.log-file-size-limit property in application.properties.- Default:
- 0
-
logLevel
String logLevelLevel of detail of the messages written to the system member’s log. Setting log-level to one of the ordered levels causes all messages of that level and greater severity to be printed. Valid values from lowest to highest are fine, config, info, warning, error, severe, and none. Defaults to config. Use the spring.data.gemfire.logging.level property in application.properties.- Default:
- "config"
-