summaryrefslogtreecommitdiff
path: root/debian/patches/log-debug-history-nearly-unlimited.patch
blob: 8bf3ea9842e51202646e1e22db8502805eb09e88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
From 7868a0d172ec72a41b4a892fcac5784c85a9d24e Mon Sep 17 00:00:00 2001
From: Till Kampetter <till.kampetter@gmail.com>
Date: Tue, 9 Aug 2016 18:11:45 +0200
Subject: Make log debug history nearly unlimited

Last-Update: 2015-02-10
Patch-Name: log-debug-history-nearly-unlimited.patch
---
 scheduler/conf.c | 2 +-
 scheduler/conf.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scheduler/conf.c b/scheduler/conf.c
index 31eedbf71..850d8cb59 100644
--- a/scheduler/conf.c
+++ b/scheduler/conf.c
@@ -721,7 +721,7 @@ cupsdReadConfiguration(void)
   KeepAlive                = TRUE;
   KeepAliveTimeout         = DEFAULT_KEEPALIVE;
   ListenBackLog            = SOMAXCONN;
-  LogDebugHistory          = 200;
+  LogDebugHistory          = 99999;
   LogFilePerm              = CUPS_DEFAULT_LOG_FILE_PERM;
   LogLevel                 = CUPSD_LOG_WARN;
   LogTimeFormat            = CUPSD_TIME_STANDARD;
diff --git a/scheduler/conf.h b/scheduler/conf.h
index b4e14eed9..c15226d10 100644
--- a/scheduler/conf.h
+++ b/scheduler/conf.h
@@ -161,7 +161,7 @@ VAR cupsd_accesslog_t	AccessLogLevel		VALUE(CUPSD_ACCESSLOG_ACTIONS);
 					/* Access log level */
 VAR int			ClassifyOverride	VALUE(0),
 					/* Allow overrides? */
-			LogDebugHistory		VALUE(200),
+			LogDebugHistory		VALUE(99999),
 					/* Amount of automatic debug history */
 			FatalErrors		VALUE(CUPSD_FATAL_CONFIG),
 					/* Which errors are fatal? */