mirror of
https://github.com/DictXiong/dotfiles.git
synced 2025-07-30 11:00:29 +08:00
logging format
This commit is contained in:
parent
fe7fb96fc2
commit
b6d9c805fe
@ -2,7 +2,7 @@
|
||||
import os, uuid, socket, argparse, logging
|
||||
|
||||
namespace = uuid.UUID("cc23b903-1993-44eb-9c90-48bd841eeac3")
|
||||
logging.basicConfig(level=logging.INFO, format="[%(filename)s:%(lineno)d %(levelname)s] %(message)s")
|
||||
logging.basicConfig(level=logging.INFO, format="[%(filename)s:%(lineno)d][%(levelname)s] %(message)s")
|
||||
|
||||
try:
|
||||
import requests
|
||||
|
Loading…
x
Reference in New Issue
Block a user