Logging

Log-Level

The log level for the application is INFO by default. Other possible values are OFF, ERROR and WARN. For debugging it can be set to DEBUG for example:


logging:
 level: DEBUG

Log output

By default, application logs are written to data/log/xtraplatform.log. Daily log rotation is enabled and old logs are zipped and kept for a week. The log file or rotation settings can be changed:


logging:
 appenders:
   - type: file
     currentLogFilename: /var/log/ldproxy.log
     archive: true
     archivedLogFilenamePattern: /var/log/ldproxy-%d.zip
     archivedFileCount: 30
     timeZone: Europe/Berlin