summaryrefslogtreecommitdiffstats
path: root/patches/logrotate-3.7.1/taboo-to-debug.patch
blob: dd78d643ef3551d8b12abdcc2a1c0310e3a19376 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Quietens the taboo list from ERROR to a DEBUG (Closes: #249073)

---
 config.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: logrotate-3.7.1/config.c
===================================================================
--- logrotate-3.7.1.orig/config.c
+++ logrotate-3.7.1/config.c
@@ -149,7 +149,7 @@ static int checkFile(const char * fname)
     for (i = 0; i < tabooCount; i++) {
 	if (!strcmp(fname + strlen(fname) - strlen(tabooExts[i]),
 	    tabooExts[i])) {
-	    message(MESS_ERROR, "Ignoring %s, because of %s "
+	    message(MESS_DEBUG, "Ignoring %s, because of %s "
 		    "ending\n", fname, tabooExts[i]);
 
 	    return 0;