Karaf log
The Karaf log can be displayed using a BPC monitor.
General
The Karaf logs are written to an OpenSearch index with the alias 'bpc-logs'. A BPC monitor is used to display the data.
Configuration
You will find the configuration for this function in the Karaf configuration file KARAF/etc/de.virtimo.bpc.decanter.appender.opensearch.cfg.
|
You should not make changes directly to the configuration file, but use Central configuration file. The general procedure for overwriting such settings is described in this section this section |
The specific configuration values are described below.
Enable/disable
By default, the Karaf logs are written to the OpenSearch index with the alias 'bpc-logs'.
To disable this function, the setting enabled must be set to false.
Clean up
The Karaf logs are written to the OpenSearch index with the alias bpc-logs.
Old data is periodically deleted so that it does not grow to infinity.
The frequency and retention period can be adjusted in the configuration file KARAF/etc/de.virtimo.bpc.decanter.appender.opensearch.cfg (a Core Bundle restart is then required).
These are the default settings:
# the index gets cleaned up every n-minutes cleanupPeriodInMinutes=60 # delete all entries from the index that are older than deleteEntriesOlderThan=7 days ago
Display of the Karaf log
The Karaf logs can be viewed in the administration area, see Karaf Log.
It is also possible to make the Karaf log available as a monitor module in the navigation bar.