mirror of
https://github.com/taoky/shadowmire.git
synced 2025-07-08 09:12:43 +00:00
chore: adjust default logging format
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
This commit is contained in:
parent
b6071ec2e9
commit
d09c3a8ed1
@ -28,8 +28,9 @@ import click
|
|||||||
from tqdm import tqdm
|
from tqdm import tqdm
|
||||||
from requests.adapters import HTTPAdapter, Retry
|
from requests.adapters import HTTPAdapter, Retry
|
||||||
|
|
||||||
|
LOG_FORMAT = "%(asctime)s %(levelname)s: %(message)s (%(filename)s:%(lineno)d)"
|
||||||
logger = logging.getLogger(__name__)
|
logging.basicConfig(format=LOG_FORMAT)
|
||||||
|
logger = logging.getLogger("shadowmire")
|
||||||
|
|
||||||
|
|
||||||
USER_AGENT = "Shadowmire (https://github.com/taoky/shadowmire)"
|
USER_AGENT = "Shadowmire (https://github.com/taoky/shadowmire)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user