Package: cups
Version: 2.4.16-1
Severity: normal

Hi,

logging to syslog (i.e. journald) is the expected behavior nowadays.

Please consider following patch:

--- a/conf/cups-files.conf.in
+++ b/conf/cups-files.conf.in
@@ -42,7 +42,7 @@ LogFileGroup adm
 # Location of the file logging all access to the scheduler; may be the name
 # "syslog". If not an absolute path, the value of ServerRoot is used as the
 # root directory.  Also see the "AccessLogLevel" directive in cupsd.conf.
-AccessLog @CUPS_LOGDIR@/access_log
+AccessLog syslog

 # Location of cache files used by the scheduler...
 #CacheDir @CUPS_CACHEDIR@
@@ -57,13 +57,13 @@ AccessLog @CUPS_LOGDIR@/access_log
 # helper programs; may be the name "syslog". If not an absolute path, the value
 # of ServerRoot is used as the root directory.  Also see the "LogLevel"
 # directive in cupsd.conf.
-ErrorLog @CUPS_LOGDIR@/error_log
+ErrorLog syslog

 # Location of the file logging all pages printed by the scheduler and any
 # helper programs; may be the name "syslog". If not an absolute path, the value
 # of ServerRoot is used as the root directory.  Also see the "PageLogFormat"
 # directive in cupsd.conf.
-PageLog @CUPS_LOGDIR@/page_log
+PageLog syslog

 # Location of the file listing all of the local printers...
 #Printcap @CUPS_DEFAULT_PRINTCAP@


Thanks,

Jérémy

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.19.10+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cups depends on:
ii  cups-client            2.4.16-1
ii  cups-common            2.4.16-1
ii  cups-core-drivers      2.4.16-1
ii  cups-daemon            2.4.16-1
ii  cups-filters           1.28.17-7
ii  cups-ppdc              2.4.16-1
ii  cups-server-common     2.4.16-1
ii  debconf [debconf-2.0]  1.5.92
ii  ghostscript            10.07.0~dfsg-2
ii  libavahi-client3       0.8-18
ii  libavahi-common3       0.8-18
ii  libc6                  2.42-14
ii  libcups2t64            2.4.16-1
ii  libgcc-s1              16-20260322-1
ii  libstdc++6             16-20260322-1
ii  libusb-1.0-0           2:1.0.29-2+b1
ii  poppler-utils          25.03.0-11.1+b1
ii  procps                 2:4.0.4-9+b1

Versions of packages cups recommends:
ii  avahi-daemon  0.8-18
ii  colord        1.4.8-3

Versions of packages cups suggests:
ii  cups-bsd                                   2.4.16-1
pn  cups-pdf                                   <none>
pn  foomatic-db-compressed-ppds | foomatic-db  <none>
ii  smbclient                                  2:4.23.6+dfsg-2
ii  udev                                       260.1-1

-- Configuration Files:
/etc/cups/snmp.conf [file not found]

-- debconf information excluded

Reply via email to