https://access.redhat.com/solutions/3751481
Where does CUPS log to in RHEL 8?
SOLUTION IN PROGRESS - 已更新 星期四 在 12:58 AM -
环境
- Red Hat Enterprise Linux 8 Beta
问题
- Where does CUPS write logs to in RHEL 8?
/var/log/cups/error_log
does not exist on my RHEL 8 system
决议
-
CUPS
on RHEL 8 has been updated to log to journald.- You can view the CUPS journal with
journalctl -u cups
- You can view the CUPS journal with
-
To have CUPS log to
/var/log/cups/error_log
again, edit the file/etc/cups/cups-files.conf
and find the line readingErrorLog syslog
and change it toErrorLog /var/log/cups/error_log
, then restart the CUPS service.