IBM APM Application Performance Management 8.1 server logs - rotation log settings
ericmtn 1000009W88 Visits (6812)
The following link described how to collect the main logs of APM 8.1 server, using 'collectLogs.sh' :
but how do you control the APM server main logs file size, and number of log files? this is not currently documented apparently..
So I searched around and here is what I have found so far for the main components included in APM server:
- APM MIN :
<logging"100" maxFileSize="10" cons
- MongoDB :
possibly use some settings in the “# Logging” paragraph of /opt
- Kafka Message Broker :
- MIN Derby database:
Change this setting if needed:
# Beyond this max size, GaianDB will alternate between logging to gaiandb#0.log and gaiandb#1.log, switching every time the max is reached
# The initial gaiandb.log will not be lost.
- Server1 :
<logging maxFiles="100" maxFileSize="10" cons
- APMUI :
That being said, also as documented here:
"Cloud APM server log files start wrapping when the configured number and size of the log files is reached. The Cloud APM server disk space requirements account for the number and size of the log files that are configured by default. It is recommended that you use an OS agent to monitor disk space usage on the Cloud APM server."
So the default settings for APM server log file size and number of files should be left untouched, except if you are not able to capture some meaningful oir relevant errors in the logs, and they are wrapping too quickly while reproducing your issue.
Subscribe and follow us for all the latest information directly on your social feeds: