Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
为什么log里面没有/var/log/messages 这个文件
Experiences and Insight
811
views ·
3
replies ·
To
floor
Go
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
Like 0
Favorite
View the author
All Replies
boydreaming
deepin
2019-08-12 05:54
#1
同问。是不是要安装一个rsyslog
Reply
Like 0
View the author
deepinuser17
deepin
2019-08-12 08:22
#2
对,要安装rsyslog软件包.
Reply
Like 0
View the author
duanyao
deepin
2019-08-12 22:02
#3
因为那个 wiki 过时了。很多发行版包括 deepin 已经用 systemd-journald 代替了 syslog 来管理日志。
https://blog.csdn.net/zstack_org/article/details/56274966
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
How to fix grub boot menu that has disappeared?
Popular Events
More
但是在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下。详细分类如下: