Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

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
Comment by Doug Newgard (Scimmia) - Saturday, 20 August 2016, 13:27 GMT
Is this something already in CUPS upstream or is it one of Fedora's MANY patches?
Comment by Alastair Hughes (pypi) - Sunday, 21 August 2016, 00:09 GMT Comment by Andreas Radke (AndyRTR) - Tuesday, 23 August 2016, 05:54 GMT
You are free to change your logging destination to wherever you want to have it.

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.
Comment by Alastair Hughes (pypi) - Thursday, 25 August 2016, 20:59 GMT
I was thinking that it might be a more sensible (simpler) default for this particular package - I don't think that it should be the default for *everything*.

Feel free to close this if you think that this is not worth implementing, although I'd like to know your reasons why :D
Comment by Andreas Radke (AndyRTR) - Friday, 26 August 2016, 12:36 GMT
I prefer one log file per task not the systemd all-in-one journal where you have to grep or journalctl -u icantrembertheexactnameofthedaemon for everything.
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.

Loading...