Skip to main content

Agent log configuration

When the application server runs, it starts collecting the monitoring data. The collected data is stored in the log file.

Log setting

  • whatap.log_keep_days Day

    Default 7

    Set the retention period of log files.

Setting the log sink

It is used to log data.

Default settings

  • whatap.logsink_enabled Boolean

    Default false

    If the value is true, the log data is collected.

  • whatap.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

  • whatap.logsink.files String

    Set the full file path and file name. You can specify multiple files with comma (,).

Example

  • Default Settings

    whatap.ini
    whatap.logsink_enabled=true
    whatap.logsink_zip_enabled=true
  • Configuration for Apache error log and access log

    whatap.ini
    whatap.logsink_enabled=true
    whatap.logsink_zip_enabled=true
    whatap.logsink.files=/etc/httpd/logs/error_log, /etc/httpd/logs/access_log