Product Documentation
Abstract
The following link described how to collect the main logs of APM 8.1 server, using 'collectLogs.sh' :
https://www.ibm.com/support/knowledgecenter/en/SSHLNR_8.1.4/com.ibm.pm.doc/install/trouble_logs_server.htm
but how do you control the APM server main logs file size, and number of log files? this is not currently documented apparently..
Content
So I searched around and here is what I have found so far for the main components included in APM server:
- APM MIN :
In
<logging"100" maxFileSize="10" cons
- MongoDB :
possibly use some settings in the “# Logging” paragraph of /opt
- Kafka Message Broker :
check /opt
http
- MIN Derby database:
check /opt
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.
LOGF
- Server1 :
In
<logging maxFiles="100" maxFileSize="10" cons
- APMUI :
In
<logging cons
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.
Document Location
Worldwide
Product Synonym
APM;IPM;
Was this topic helpful?
Document Information
Modified date:
21 October 2019
UID
ibm11096216