OMEGAMON® Data Connect has its own specific logging
parameters, separate from the common Spring Boot logging properties.
connect:
logging:
flood-control:
enabled: <true|false> # Default: true
interval: <seconds>
limit: <records>
flood-control
- Some events can occur frequently, resulting in numerous duplicate log messages. To avoid
duplicate messages flooding the log, OMEGAMON Data Connect applies
flood control to some messages.
-
enabled
- Whether to enable flood control. Allowed values:
true
, false
.
Default: true
.Attention: If you disable flood control, then the
OMEGAMON Data Connect log could contain many duplicate log
messages for frequently occurring events.
interval
- Flood control interval, in seconds. Must be either 0 or a positive integer. Default: 300 (5
minutes).
A positive integer specifies the duration of a rolling interval. OMEGAMON Data Connect resets the counter for each flood-controlled message
at the end of each interval.
A value of 0 specifies an indefinite interval.
OMEGAMON Data Connect never resets the flood-controlled message
counters. The limit
applies to the entire duration of the current instance of
OMEGAMON Data Connect.
- limit
- The maximum number of instances of a particular message, including message variable values,
allowed with the interval. Must be either 0 or a positive integer. Default: 1 (only one instance of
a particular message per interval; no duplicates).
A value of 0 suppresses all
flood-controlled messages.
To allow duplicate messages within the interval, increase the
limit.
OMEGAMON Data Connect applies flood control to the following
messages:
At the end of each rolling interval, if any messages have been suppressed, OMEGAMON Data Connect reports message KAYC0074I, followed by a report of the suppressed messages and the number
of messages suppressed.
Example: Flood control interval of 10 minutes, with a limit of 10 instances of the same
message within each interval
connect:
logging:
flood-control:
enabled: true
interval: 600
limit: 10
Example: Indefinite flood control interval, with a limit of 10 instances of the same message
for the duration of the current instance of OMEGAMON Data Connect
connect:
logging:
flood-control:
enabled: true
interval: 0 # Indefinite, not rolling
limit: 10
Example: Disable flood control
connect:
logging:
flood-control:
enabled: false