Agent Log
When the application server runs, it starts collecting the monitoring data. The collected data is stored in the log file.
Log setting
log_keep_days Day
Default 7
Set the retention period of log files.
Setting the LogSink
It is used to log data. See the following example.
whatap.conf
logsink_enabled=true
logsink_zip_enabled=true
logsink.files=/etc/httpd/logs/error_log, /etc/httpd/logs/access_log
Default settings
-
logsink_enabled Boolean
Default
false
If the value is
true
, the log data is collected. -
logsink_zip_enabled Boolean
Default
true
If the value is
true
, the zipped log data is transmitted. The default value is GZIP.
Setting the log file
-
logsink.files String
You can set the full path and file name of the log file to be collected. To set multiple files, use comma (,) as the delimiter.