Changeset - 8e8d778f9e21
[Not reviewed]
default
0 1 0
Drew Perttula - 10 years ago 2015-06-06 19:13:39
drewp@bigasterisk.com
use program name instead of 'root' for logger channel, so it's faster to see what a terminal is running
Ignore-this: fdca118c7a00e52c1caa002d2523bfff
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
bin/run_local.py
Show inline comments
 
@@ -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):
0 comments (0 inline, 0 general)