log:
# Log level: debug, info, warn, error, fatal.
# level: "info"
# Queries with execution time greater than this value will be logged. (Milliseconds)
slow-threshold: 2000
# Queries with internal result greater than this value will be logged.
# expensive-threshold: 10000
log.file:
max-days: 30
log:
# Log level: debug, info, warn, error, fatal.
# level: "info"
# Log format, one of json, text, console.
# format: "text"
# Disable automatic timestamps in output
# disable-timestamp: false
# Queries with execution time greater than this value will be logged. (Milliseconds)
# slow-threshold: 300
# Queries with internal result greater than this value will be logged.
# expensive-threshold: 10000
# Maximum query length recorded in log.
# query-log-max-len: 2048
# File logging.
file:
# Max log file size in MB. (upper limit to 4096MB).
# max-size: 300
# Max log file keep days. No clean up by default.
# max-days: 0
# Maximum number of old log files to retain. No clean up by default.
# max-backups: 0
# Rotate log by day
# log-rotate: true