public class SystemLogPlugin extends DiagnosticsPlugin
SystemLogPlugin is responsible for:
 This plugin has a low overhead and is meant to run in production.
| Modifier and Type | Field and Description | 
|---|---|
| static HazelcastProperty | ENABLEDIf this plugin is enabled. | 
| static HazelcastProperty | LOG_PARTITIONSIf logging partition migration is enabled. | 
logger| Constructor and Description | 
|---|
| SystemLogPlugin(HazelcastProperties properties,
               ConnectionListenable connectionObservable,
               HazelcastInstance hazelcastInstance,
               ILogger logger) | 
| SystemLogPlugin(HazelcastProperties properties,
               ConnectionListenable connectionObservable,
               HazelcastInstance hazelcastInstance,
               ILogger logger,
               NodeExtension nodeExtension) | 
| SystemLogPlugin(NodeEngineImpl nodeEngine) | 
| Modifier and Type | Method and Description | 
|---|---|
| long | getPeriodMillis()Returns the period of executing the monitor in millis. | 
| void | onStart() | 
| void | run(DiagnosticsLogWriter writer) | 
public static final HazelcastProperty ENABLED
public static final HazelcastProperty LOG_PARTITIONS
public SystemLogPlugin(NodeEngineImpl nodeEngine)
public SystemLogPlugin(HazelcastProperties properties, ConnectionListenable connectionObservable, HazelcastInstance hazelcastInstance, ILogger logger)
public SystemLogPlugin(HazelcastProperties properties, ConnectionListenable connectionObservable, HazelcastInstance hazelcastInstance, ILogger logger, NodeExtension nodeExtension)
public long getPeriodMillis()
DiagnosticsPluginIf a monitor is disabled, 0 is returned.
 If a monitor should run only once, a negative value is returned. This is
 useful for 'static' monitors like the SystemPropertiesPlugin
 that run at the beginning of a log file but their contents will not
 change.
getPeriodMillis in class DiagnosticsPluginpublic void onStart()
onStart in class DiagnosticsPluginpublic void run(DiagnosticsLogWriter writer)
run in class DiagnosticsPluginCopyright © 2022 Hazelcast, Inc.. All Rights Reserved.