milvus-logo
LFAI
Home
  • Administration Guide

log-related Configurations

Configures the system log output.

log.level

Description Default Value
  • Milvus log level. Option: debug, info, warn, error, panic, and fatal.
  • It is recommended to use debug level under test and development environments, and info level in production environment.
  • info

    log.file.rootPath

    Description Default Value
  • Root path to the log files.
  • The default value is set empty, indicating to output log files to standard output (stdout) and standard error (stderr).
  • If this parameter is set to a valid local path, Milvus writes and stores log files in this path.
  • Set this parameter as the path that you have permission to write.
  • log.file.maxSize

    Description Default Value
    The maximum size of a log file, unit: MB. 300

    log.file.maxAge

    Description Default Value
    The maximum retention time before a log file is automatically cleared, unit: day. The minimum value is 1. 10

    log.file.maxBackups

    Description Default Value
    The maximum number of log files to back up, unit: day. The minimum value is 1. 20

    log.format

    Description Default Value
    Milvus log format. Option: text and JSON text

    log.stdout

    Description Default Value
    Stdout enable or not true
    Feedback

    Was this page helpful?