You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
554B

  1. # 是否启动日志文件记录日志
  2. enable_file_log: true
  3. # 是否启动控制台打印日志
  4. enable_stderr: true
  5. # 日志相对于根路径下的相对路径
  6. base_path: "logs"
  7. # 日志文件名称
  8. log_name: "airport_media.log"
  9. # 日志打印格式
  10. log_fmt: "{time:YYYY-MM-DD HH:mm:ss.SSS} [{level}][{process.name}-{process.id}-{thread.name}-{thread.id}][{line}] {module}-{function} - {message}"
  11. # 日志打印级别
  12. level: "INFO"
  13. # 日志绕接时间
  14. rotation: "00:00"
  15. # 日志保存时间
  16. retention: "7 days"
  17. # 日志编码格式
  18. encoding: "utf8"