remove colourful logs
This commit is contained in:
parent
8412776600
commit
3d8f7b4b1b
1 changed files with 2 additions and 3 deletions
|
@ -6,13 +6,12 @@ from argparse import ArgumentParser
|
||||||
from copy import deepcopy
|
from copy import deepcopy
|
||||||
|
|
||||||
import requests
|
import requests
|
||||||
from rich.logging import RichHandler
|
|
||||||
|
|
||||||
FORMAT = "%(message)s"
|
FORMAT = "%(message)s"
|
||||||
logging.basicConfig(
|
logging.basicConfig(
|
||||||
level="INFO", format=FORMAT, datefmt="[%X]", handlers=[RichHandler()]
|
level="INFO", format=FORMAT, datefmt="[%X]"
|
||||||
)
|
)
|
||||||
log = logging.getLogger("rich")
|
log = logging.getLogger()
|
||||||
|
|
||||||
|
|
||||||
def create_session(api_key):
|
def create_session(api_key):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue