[Control Center] V23 默认缺少 rsyslog 包 V23
Tofloor
poster avatar
月常圆
deepin
2023-10-29 12:01
Author

在老版本 Deepin ,Ubuntu22 中是有 /var/log/auth.log。 然而升级到 v23 之后,发现并没有 /var/log/auth.log。花了很长时间,发现是 缺少 rsyslog。

Reply Favorite View the author
All Replies
月常圆
deepin
2023-10-29 12:14
#1

安装 rsyslog

apt install rsyslog
systemctl enable rsyslog
systemctl start rsyslog
Reply View the author
f@deepin
deepin
2023-10-29 17:15
#2

我记得是刻意移除这个包的

Reply View the author
fslong
deepin beta test group
2023-10-29 17:45
#3

这个包会造成日志刷写贼离谱,一个礼拜就好几个g了,现在deepin用的是systemd-journal。

直接用日志查看器查看日志就行,需要导出的直接右键导出。

Reply View the author
月常圆
deepin
2023-10-30 06:19
#4

日志的确很大,但是 journald 的日志也不小。不知道移除 rsyslog 是处于什么考虑。移除之后用不了 fail2ban 防火墙工具,它只认 /var/log/auth.log 。

Reply View the author