Log to filesystem

Log to one or more files in the filesystem.

Filesystem

A file to log into.

Properties

Enable

Enable this logging destination.

  • Data type: boolean
  • Default: true
  • Configuration

CLI: (cli)> config system log filesystem <index> enable

Filesystem

The filesystem containing the file.

  • Data type: reference path
  • References instances of: Storage / Filesystems
  • Configuration
  • Required

CLI: (cli)> config system log filesystem <index> filesystem

Minimum severity level

The minimum severity level to log.

All higher severity levels will also be logged.

OptionLabel
debugDebug
infoInformation
noticeNotice
warningWarning
errorError
criticalCritical
alertAlert
emergencyEmergency
  • Data type: string select
  • Default: debug
  • Configuration
  • Required

CLI: (cli)> config system log filesystem <index> level

File size limit

Limit the log file to this number of bytes.

When the log file exceeds this limit, the log will be rotated.

  • Data type: integer
  • Units: bytes
  • Default: 100000
  • Minimum: 1000
  • Configuration
  • Required

CLI: (cli)> config system log filesystem <index> file-size-limit