Logging typo fix
This commit is contained in:
parent
821daedfc4
commit
16847cab4a
1 changed files with 1 additions and 1 deletions
2
uplink
2
uplink
|
|
@ -180,7 +180,7 @@ if __name__ == "__main__":
|
|||
|
||||
if args.stdout:
|
||||
formatter = logging.Formatter(
|
||||
PURPLE + "%(asctime)s" + END + ":" + BLUE + "%(levelname)s" + END + ":" + YELLOW + "%(name)s" + END + GRAY + ":%(message)s" + END)
|
||||
PURPLE + "%(asctime)s" + END + ":" + BLUE + "%(levelname)s" + END + ":" + YELLOW + "%(name)s" + END + ":" + GRAY + "%(message)s" + END)
|
||||
handler1 = logging.StreamHandler(sys.stdout)
|
||||
handler1.setFormatter(formatter)
|
||||
root_logger.addHandler(handler1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue