You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
231 B
7 lines
231 B
1 month ago
|
ubuntu系统缺省不会打开messages日志
|
||
|
打开方法:
|
||
|
修改文件/etc/rsyslog.d/50-default.conf
|
||
|
打开messages 配置, 添加一行
|
||
|
*.info;mail.none;authpriv.none;cron.none /var/log/messages
|
||
|
|
||
|
systemctl restart rsyslog.service
|