Blob Blame History Raw
commit 3304589f0e643b9f43dbc0fd042f747d0e4c27c2
Author: Bryn M. Reeves <bmr@redhat.com>
Date:   Wed Nov 13 19:02:05 2013 +0000

    Remove debug statements from logs plugin
    
    The 'all_logs' path of the logs plugin has three leftover debug
    print statements. Remove them to avoid cluttering the console
    output when the option is used.
    
    Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
    
    Conflicts:
    	sos/plugins/logs.py

diff --git a/sos/plugins/logs.py b/sos/plugins/logs.py
index 8359e06..7e7545f 100644
--- a/sos/plugins/logs.py
+++ b/sos/plugins/logs.py
@@ -38,14 +38,11 @@ class Logs(Plugin):
         self.add_copy_spec_limit("/var/log/boot*", sizelimit = self.limit)
 
         if self.get_option('all_logs'):
-            print "doing all_logs..."
             logs = self.do_regex_find_all("^\S+\s+(-?\/.*$)\s+",
                                 "/etc/syslog.conf")
-            print logs
             if self.policy().pkg_by_name("rsyslog") \
               or os.path.exists("/etc/rsyslog.conf"):
                 logs += self.do_regex_find_all("^\S+\s+(-?\/.*$)\s+", "/etc/rsyslog.conf")
-                print logs
             for i in logs:
                 if i.startswith("-"):
                     i = i[1:]