在 CentOS 里**“recycle 日志”**通常指两类东西,含义不同,下面分开说:
CentOS 默认没有系统级回收站,一般来自:
~/.local/share/Trash/
~/.xsession-errors
或journalctl -u gdm
例如 Samba 的 recycle 模块:
/etc/samba/smb.conf
log file 决定,如:/var/log/samba/log.smbd
CentOS 系统日志一般在这里:
/var/log/messages
journalctl
或指定服务:
journalctl -xe
如果是 logrotate(日志回收/轮转):
/var/log/
配置文件:
/etc/logrotate.conf
/etc/logrotate.d/
手动执行看结果:
logrotate -d /etc/logrotate.conf
你可以告诉我:
我可以给你更精确的路径和命令。