diff options
author | Louis Bouchard <louis.bouchard@canonical.com> | 2014-04-23 10:04:03 +0200 |
---|---|---|
committer | Adam Stokes <adam.stokes@ubuntu.com> | 2014-04-23 08:18:51 -0400 |
commit | d95c95c6299848f56e399d7f849c8e30774de5bf (patch) | |
tree | 8ab5b4d18c317bf4cfda56c633869ddaff986bc4 | |
parent | 49198774ad051892b6f609bdc0d126f8a8e8c00e (diff) | |
download | sos-d95c95c6299848f56e399d7f849c8e30774de5bf.tar.gz |
Add squid3 log collection
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sos/plugins/squid.py b/sos/plugins/squid.py index 3bbaadf9..1aa969af 100644 --- a/sos/plugins/squid.py +++ b/sos/plugins/squid.py @@ -48,6 +48,8 @@ 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_spec_limit("/var/log/squid3/*", + 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')) |