標籤:des style blog http io ar color os 使用
Level |
Description |
Example |
emerg
|
Emergencies - system is unusable 緊急 - 系統無法使用 |
Child cannot open lock file. Exiting |
alert
|
Action must be taken immediately 必須立即採取措施 |
getpwuid: couldn‘t determine user name from uid |
crit
|
Critical Conditions 致命情況 |
socket: Failed to get a socket, exiting child |
error
|
Error conditions 錯誤情況 |
Premature end of script headers |
warn
|
Warning conditions 警告情況 |
child process 1234 did not exit, sending another SIGHUP |
notice
|
Normal but significant condition 一般重要情況 |
httpd: caught SIGBUS, attempting to dump core in ..." |
info
|
Informational 普通訊息 |
Server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers)..." |
debug
|
Debug-level messages 出錯層級資訊 |
Opening config file ..." |
備忘: 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層級) 來源: <http://cjhust.blog.163.com/blog/static/175827157201172025919798/> |
來自為知筆記(Wiz)
<轉>LOG記錄層級