borgend.py

changeset 52
aef860e99323
parent 50
2d8947351727
child 73
4f0e9cf8f230
equal deleted inserted replaced
51:1614b2184bb4 52:aef860e99323
25 # 25 #
26 # Setup logger, needed by the config module to be loaded next 26 # Setup logger, needed by the config module to be loaded next
27 # 27 #
28 28
29 logger=logging.getLogger(appname) 29 logger=logging.getLogger(appname)
30 logger.handlers.clear()
30 logger.setLevel(loglevel) 31 logger.setLevel(loglevel)
31 stderrlog=logging.StreamHandler() 32 stderrlog=logging.StreamHandler()
32 stderrlog.setLevel(logging.WARNING) 33 stderrlog.setLevel(logging.WARNING)
33 logger.addHandler(stderrlog) 34 logger.addHandler(stderrlog)
34 logger.propagate=True 35 logger.propagate=True

mercurial