/ var / log / messages在哪里?


67

刚刚安装了natty,找不到了/var/log/messages。另外,/var/log/daemon.log缺少。发生了什么?为什么它们不再存在?在哪里可以找到相同的日志信息?

Answers:


76

/var/log/messages已从Natty中删除。
您可以在中找到相同的信息/var/log/syslog。请注意,所有已登录的内容messages也已登录到syslog


5
供参考:默认情况下,指定要在哪里记录什么的规则/etc/rsyslog.d/*.conf,因为它们是由中的$IncludeConfig指令加载的/etc/rsyslog.conf
Piskvor

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.