为什么log里面没有/var/log/messages 这个文件
Tofloor
poster avatar
echophil
deepin
2018-05-08 07:40
Author
我查看了一下,为什么没有messages  
但是在deepin的wiki里面是写有的
https://wiki.deepin.org/index.php?title=%E7%B3%BB%E7%BB%9F%E6%97%A5%E5%BF%97#.E6.97.A5.E5.BF.97.E7.AE.A1.E7.90.86

对于Linux系统而言,所有的日志文件都在/var/log下。详细分类如下:

  • /var/log/messages — 包括整体系统信息,其中也包含系统启动期间的日志。此外,mail,cron,daemon,kern和auth等内容也记录在var/log/messages日志中。





Reply Favorite View the author
All Replies
avatar
boydreaming
deepin
2019-08-12 05:54
#1
同问。是不是要安装一个rsyslog
Reply View the author
avatar
deepinuser17
deepin
2019-08-12 08:22
#2
对,要安装rsyslog软件包.
Reply View the author
avatar
duanyao
deepin
2019-08-12 22:02
#3
因为那个 wiki 过时了。很多发行版包括 deepin 已经用 systemd-journald 代替了 syslog 来管理日志。
https://blog.csdn.net/zstack_org/article/details/56274966
Reply View the author