diff options
author | Louis Bouchard <louis.bouchard@canonical.com> | 2014-04-22 17:32:37 +0200 |
---|---|---|
committer | Adam Stokes <adam.stokes@ubuntu.com> | 2014-04-23 08:18:26 -0400 |
commit | 49198774ad051892b6f609bdc0d126f8a8e8c00e (patch) | |
tree | 8d6b450ae4ce6542d35564a4cfdeb441a6bee398 | |
parent | 9d10d3f255e290ca7c2b63e0fa5e989dda060aeb (diff) | |
download | sos-49198774ad051892b6f609bdc0d126f8a8e8c00e.tar.gz |
Add collection for squid-deb-proxy if present
Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
-rw-r--r-- | sos/plugins/squid.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sos/plugins/squid.py b/sos/plugins/squid.py index edb1016f..3bbaadf9 100644 --- a/sos/plugins/squid.py +++ b/sos/plugins/squid.py @@ -48,5 +48,7 @@ class DebianSquid(Squid, DebianPlugin, UbuntuPlugin): def setup(self): self.add_copy_spec_limit("/etc/squid3/squid.conf", sizelimit=self.get_option('logsize')) - + self.add_copy_specs(['/etc/squid-deb-proxy']) + self.add_copy_spec_limit("/var/log/squid-deb-proxy/*", + sizelimit=self.get_option('logsize')) # vim: et ts=4 sw=4 |