diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2013-06-10 15:58:19 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2013-06-10 15:58:19 +0100 |
commit | 3809560f70c0183284d1d35b6d61597097f9f001 (patch) | |
tree | 110a32250fb3e9eb395c1678417a9d4fd4d0329c | |
parent | 0178d5ffb5a860c7e9728020d77b00c2b47eec0e (diff) | |
download | sos-3809560f70c0183284d1d35b6d61597097f9f001.tar.gz |
Fix use of 'logsize' parameter in logs module
The logs module has a paramter 'logsize' but some code still uses
the old 'syslogsize' name. Make all uses consistent.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/logs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/logs.py b/sos/plugins/logs.py index 0d65e047..8359e063 100644 --- a/sos/plugins/logs.py +++ b/sos/plugins/logs.py @@ -34,7 +34,7 @@ class Logs(Plugin): "/etc/rsyslog.conf" ]) - self.limit = self.get_option("syslogsize") + self.limit = self.get_option("logsize") self.add_copy_spec_limit("/var/log/boot*", sizelimit = self.limit) if self.get_option('all_logs'): |