root_logger bug fix?
This commit is contained in:
parent
5f8432ccdc
commit
f531e89a2f
1 changed files with 2 additions and 2 deletions
4
uplink
4
uplink
|
|
@ -175,8 +175,8 @@ def run(config):
|
|||
if __name__ == "__main__":
|
||||
args = parse_args()
|
||||
|
||||
if args.stdout or args.logfile:
|
||||
root_logger = logging.getLogger()
|
||||
#if args.stdout or args.logfile:
|
||||
root_logger = logging.getLogger()
|
||||
|
||||
if args.stdout:
|
||||
formatter = logging.Formatter(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue