diff --git a/k4FWCore/scripts/k4run b/k4FWCore/scripts/k4run index d8bd2fd0..36ed60ee 100755 --- a/k4FWCore/scripts/k4run +++ b/k4FWCore/scripts/k4run @@ -131,7 +131,7 @@ def main(): formatter = logging.Formatter("[k4run] %(message)s") handler = logging.StreamHandler(sys.stdout) handler.setFormatter(formatter) - logger.addHandler(handler) + logger.handlers = [handler] from k4FWCore.parseArgs import parser