Blame SOURCES/sos-bz1030042-remove-logs-debug-statements.patch

629484
commit 3304589f0e643b9f43dbc0fd042f747d0e4c27c2
629484
Author: Bryn M. Reeves <bmr@redhat.com>
629484
Date:   Wed Nov 13 19:02:05 2013 +0000
629484
629484
    Remove debug statements from logs plugin
629484
    
629484
    The 'all_logs' path of the logs plugin has three leftover debug
629484
    print statements. Remove them to avoid cluttering the console
629484
    output when the option is used.
629484
    
629484
    Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
629484
    
629484
    Conflicts:
629484
    	sos/plugins/logs.py
629484
629484
diff --git a/sos/plugins/logs.py b/sos/plugins/logs.py
629484
index 8359e06..7e7545f 100644
629484
--- a/sos/plugins/logs.py
629484
+++ b/sos/plugins/logs.py
629484
@@ -38,14 +38,11 @@ class Logs(Plugin):
629484
         self.add_copy_spec_limit("/var/log/boot*", sizelimit = self.limit)
629484
 
629484
         if self.get_option('all_logs'):
629484
-            print "doing all_logs..."
629484
             logs = self.do_regex_find_all("^\S+\s+(-?\/.*$)\s+",
629484
                                 "/etc/syslog.conf")
629484
-            print logs
629484
             if self.policy().pkg_by_name("rsyslog") \
629484
               or os.path.exists("/etc/rsyslog.conf"):
629484
                 logs += self.do_regex_find_all("^\S+\s+(-?\/.*$)\s+", "/etc/rsyslog.conf")
629484
-                print logs
629484
             for i in logs:
629484
                 if i.startswith("-"):
629484
                     i = i[1:]