Configurable log trimmer handler
Log trimmer configurable feature provides the capability to interact with IBM Db2 components to remove unnecessary logs with a certain age, whose accumulation might impact storage and filesystem performance.
By default, the job to erase log files is configured to run at midnight daily and erase logs older than 12 hours.
To configure age for log clean up, a config map is defined. Use the following example to
configure it:
export NAMESPACE=ibm-data-cataloging
export TIME_DELETION=720
oc patch configmap db2-log-trimmer -n $NAMESPACE --type merge -p "{\"data\":{\"time-limit-min\":\"${TIME_DELETION}\"}}"
TIME_DELETION vary in minutes.