--- pungi.py-original	2007-05-03 13:51:43.000000000 -0400
+++ pungi.py-JG	2007-05-03 14:05:50.000000000 -0400
@@ -21,7 +21,7 @@
 import shutil
 import re
 
-log = logging.getLogger("pypungi.pungi")
+log = logging.getLogger("pungi")
 
 class Pungi:
     def __init__(self, config):
@@ -69,6 +69,12 @@
 
         log.info("Running %s" % ' '.join(command))
 
+        #if the verbose flag is set then change the default behaviour of the output and error
+        #change the values only if the devault is set. otherwise leave the value as is.
+        if self.config.get('default','verbosity2') == "True":
+            if output == subprocess.PIPE: output=None
+            if error == subprocess.PIPE: error=None
+ 
         p1 = subprocess.Popen(command, cwd=rundir, stdout=output, stderr=error)
         (out, err) = p1.communicate()
         if p1.returncode != 0:
