gfdxy3322 发表于 2018-11-15 10:07:51

nginx日志总结

  1、错误日志:
  1)emerg
  Emergencies - system is unusable    紧急 - 系统无法使用
  2)alert
  Action must be taken immediately   必须立即采取措施
  3)crit
  Critical Conditions   致命情况
  4)error
  Error conditions    错误情况
  5)warn
  Warning conditions   警告情况
  6)notice
  -------------------------------------
  2、访问日志
  Normal but significant condition   一般重要情况
  7)info

    Informational   普通信息
  8)debug
  Debug-level messages    出错级别信息
  备注:
  1、When a particular level is specified, messages from all other levels of higher significance will be reported as well. (当指定了特定级别时,所有级别高于它的信息也会同时报告)
  2、E.g.when LogLevel info is specified, then messages with log levels of notice and warn will also be posted.(比如说,当指定了LogLevel info时,所有 notice和warn级别的信息也会被记录)
  3、Using a level of at least crit is recommended.(建议至少要使用crit级别)

页: [1]
查看完整版本: nginx日志总结