Blame SOURCES/0041-squid-don-t-use-add_copy_spec_limt-for-conf-files.patch
|
|
0cd6dc |
From c9f1588bb69dff6cc322b05436793ed9cc39568c Mon Sep 17 00:00:00 2001
|
|
|
0cd6dc |
From: "Bryn M. Reeves" <bmr@redhat.com>
|
|
|
0cd6dc |
Date: Mon, 19 Jan 2015 18:33:31 +0000
|
|
|
0cd6dc |
Subject: [PATCH 41/93] [squid] don't use add_copy_spec_limt() for conf files
|
|
|
0cd6dc |
|
|
|
0cd6dc |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
0cd6dc |
---
|
|
|
0cd6dc |
sos/plugins/squid.py | 2 +-
|
|
|
0cd6dc |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
0cd6dc |
|
|
|
0cd6dc |
diff --git a/sos/plugins/squid.py b/sos/plugins/squid.py
|
|
|
0cd6dc |
index f1aea73..a995158 100644
|
|
|
0cd6dc |
--- a/sos/plugins/squid.py
|
|
|
0cd6dc |
+++ b/sos/plugins/squid.py
|
|
|
0cd6dc |
@@ -31,7 +31,7 @@ class RedHatSquid(Squid, RedHatPlugin):
|
|
|
0cd6dc |
def setup(self):
|
|
|
0cd6dc |
log_size = self.get_option('log_size')
|
|
|
0cd6dc |
log_path = "/var/log/squid/"
|
|
|
0cd6dc |
- self.add_copy_spec_limit("/etc/squid/squid.conf", sizelimit=log_size)
|
|
|
0cd6dc |
+ self.add_copy_spec("/etc/squid/squid.conf")
|
|
|
0cd6dc |
self.add_copy_spec_limit(log_path + "access.log", sizelimit=log_size)
|
|
|
0cd6dc |
self.add_copy_spec_limit(log_path + "cache.log", sizelimit=log_size)
|
|
|
0cd6dc |
self.add_copy_spec_limit(log_path + "squid.out", sizelimit=log_size)
|
|
|
0cd6dc |
--
|
|
|
0cd6dc |
1.9.3
|
|
|
0cd6dc |
|