Skip to content
Atuin

[logs]

Atuin’s log files.

Write log files.

  • Type: boolean
  • Default: true

The directory that log files go in.

  • Type: string
  • Default: "~/.atuin/logs"

The least severe level that logs record. The ATUIN_LOG environment variable overrides it.

  • Type: string
  • Default: "info"
  • Values: trace, debug, info, warn, error

How long to keep each log file, such as 4d. A bare number counts days. 0 keeps none.

  • Type: string or number
  • Default: "4days"

The log of interactive search.

The log file. A relative path is relative to logs.dir.

  • Type: string
  • Default: "search.log"

Write this log. If unset, logs.enabled.

  • Type: boolean

The least severe level this log records. If unset, logs.level.

  • Type: string
  • Values: trace, debug, info, warn, error

How long to keep this log, such as 4d. If unset, logs.retention.

  • Type: string or number
  • Default: unset

The daemon’s log.

The log file. A relative path is relative to logs.dir.

  • Type: string
  • Default: "daemon.log"

Write this log. If unset, logs.enabled.

  • Type: boolean

The least severe level this log records. If unset, logs.level.

  • Type: string
  • Values: trace, debug, info, warn, error

How long to keep this log, such as 4d. If unset, logs.retention.

  • Type: string or number
  • Default: unset

Atuin AI’s log.

The log file. A relative path is relative to logs.dir.

  • Type: string
  • Default: "ai.log"

Write this log. If unset, logs.enabled.

  • Type: boolean

The least severe level this log records. If unset, logs.level.

  • Type: string
  • Values: trace, debug, info, warn, error

How long to keep this log, such as 4d. If unset, logs.retention.

  • Type: string or number
  • Default: unset