summaryrefslogtreecommitdiff
path: root/debian/patches/default_log_settings.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/default_log_settings.patch')
-rw-r--r--debian/patches/default_log_settings.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/patches/default_log_settings.patch b/debian/patches/default_log_settings.patch
new file mode 100644
index 000000000..fca2bee7c
--- /dev/null
+++ b/debian/patches/default_log_settings.patch
@@ -0,0 +1,27 @@
+From: Didier Raboud <odyx@debian.org>
+Date: Tue, 9 Aug 2016 18:11:40 +0200
+Subject: Deactivate CUPS' own log rotating as the system already provides a
+ more sophisticated log rotating
+
+Last-Update: 2015-02-10
+
+Patch-Name: default_log_settings.patch
+---
+ conf/cupsd.conf.in | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/conf/cupsd.conf.in b/conf/cupsd.conf.in
+index ab37ca6..78189e5 100644
+--- a/conf/cupsd.conf.in
++++ b/conf/cupsd.conf.in
+@@ -8,6 +8,10 @@
+ LogLevel @CUPS_LOG_LEVEL@
+ @CUPS_PAGE_LOG_FORMAT@
+
++# Deactivate CUPS' internal logrotating, as we provide a better one, especially
++# LogLevel debug2 gets usable now
++MaxLogSize 0
++
+ # Only listen for connections from the local machine.
+ Listen localhost:@DEFAULT_IPP_PORT@
+ @CUPS_LISTEN_DOMAINSOCKET@