# HG changeset patch # User Drew Perttula # Date 2015-06-06 19:13:39 # Node ID 8e8d778f9e2173e6d6ecb3098a91c2fd3fc934ea # Parent b7c752e49355298167c82f340ff724c9a3e130e2 use program name instead of 'root' for logger channel, so it's faster to see what a terminal is running Ignore-this: fdca118c7a00e52c1caa002d2523bfff diff --git a/bin/run_local.py b/bin/run_local.py --- a/bin/run_local.py +++ b/bin/run_local.py @@ -22,7 +22,9 @@ try: faulthandler.enable() except ImportError: pass -log = logging.getLogger() + +progName = sys.argv[0].split('/')[-1] +log = logging.getLogger(progName) class CSH(coloredlogs.ColoredStreamHandler): def render_timestamp(self, created):