/ var / log / messages在哪里


Answers:


26

Ubuntu /var/log/messages默认不再使用该文件。文件中提供了相同的信息/var/log/syslog。您可以根据需要重新启用日志记录/var/log/messages

Syslog是标准的日志记录工具。它从各种程序(包括内核)收集消息。通常将其配置为默认存储这些消息。它如何存储这些消息通常取决于分发。/var/log/messages通常用于存储非关键消息,同时/var/log/syslog存储所有内容,包括关键和非关键消息。

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.