Changeset - 3c78608a216a
[Not reviewed]
default
0 1 0
Drew Perttula - 10 years ago 2015-06-08 06:54:08
drewp@bigasterisk.com
don't break all non-root log channels
Ignore-this: 2908404aef5c5040c84aa577c201ef0b
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
bin/run_local.py
Show inline comments
 
@@ -24,7 +24,9 @@ except ImportError:
 
    pass
 

	
 
progName = sys.argv[0].split('/')[-1]
 
log = logging.getLogger(progName)
 
log = logging.getLogger() # this has to get the root logger
 
log.name = progName # but we can rename it for clarity
 

	
 

	
 
class CSH(coloredlogs.ColoredStreamHandler):
 
    def render_timestamp(self, created):
0 comments (0 inline, 0 general)