diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2013-08-12 20:31:51 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2013-08-12 20:31:51 +0100 |
commit | a76a7ba5f9220627dc56a3a925f0d0bb663f35a4 (patch) | |
tree | 32976c7581bb95d93bc66bd5a6f7ae5787e371a4 | |
parent | 3a2c3d069b9700d3275048e6f169f230dd1ea402 (diff) | |
download | sos-a76a7ba5f9220627dc56a3a925f0d0bb663f35a4.tar.gz |
Collect /var/log/squid in squid plug-in
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/squid.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/plugins/squid.py b/sos/plugins/squid.py index 254a1beb..4f6310fc 100644 --- a/sos/plugins/squid.py +++ b/sos/plugins/squid.py @@ -25,5 +25,6 @@ class Squid(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): packages = ('squid',) def setup(self): - self.add_copy_spec_limit("/etc/squid/squid.conf", + self.add_copy_spec("/etc/squid/squid.conf") + self.add_copy_spec_limit("/var/log/squid", sizelimit=self.get_option('logsize')) |