FS#50453 - [cups] logs do not go to systemd
Attached to Project:
Arch Linux
Opened by Alastair Hughes (pypi) - Saturday, 20 August 2016, 07:11 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 28 August 2016, 15:28 GMT
Opened by Alastair Hughes (pypi) - Saturday, 20 August 2016, 07:11 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 28 August 2016, 15:28 GMT
|
Details
Description:
Currently, CUPS 2.1.4 logs to files in /var/log/cups/. I'd rather that CUPS defaulted to logging to journald; this can be set by changing the values for AccessLog, ErrorLog, and PageLog in /etc/cups/cups-files.conf to "syslog". Here's a slightly out-of-date page explaining the idea: https://fedoraproject.org/wiki/Changes/CupsJournalLogging It is now the default in Fedora: https://git.fedorahosted.org/cgit/docs/release-notes.git/commit/en-US/Printing.xml?id=9567793d4cb61761011082049ccb53549ea10738 |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Sunday, 28 August 2016, 15:28 GMT
Reason for closing: Won't implement
Sunday, 28 August 2016, 15:28 GMT
Reason for closing: Won't implement
https://github.com/apple/cups/commit/0dc4a6bf8c8c066d1a10675b92e027c89eb78cdf
Also, see various mentions in https://github.com/apple/cups/blob/master/CHANGES-2.1.txt
We don't have a rule in Arch to strictly log everything into the systemd journal. Think off users don't using systemd in Arch at all.
If you think Arch should also push all logging into the journal feel free to open a generic feature request for all
affected packages. I suggest an open discussion at the arch-general mailing list first.
Feel free to close this if you think that this is not worth implementing, although I'd like to know your reasons why :D
I don't want browsing full journal to look even worse than now.
Feel free to change the log file destination from "ErrorLog /var/log/cups/error_log"
to "ErrorLog syslog" in cups-files.conf.