|
|
@@ -14,7 +14,7 @@ from tenacity import retry, stop_after_attempt, wait_fixed
|
|
|
from mysql_pool import MySQLConnectionPool
|
|
|
|
|
|
logger.remove()
|
|
|
-logger.add("./logs/auction_{time:YYYYMMDD}.log", encoding='utf-8', rotation="00:00",
|
|
|
+logger.add("./logs/{time:YYYYMMDD}.log", encoding='utf-8', rotation="00:00",
|
|
|
format="[{time:YYYY-MM-DD HH:mm:ss.SSS}] {level} {message}",
|
|
|
level="DEBUG", retention="7 day")
|
|
|
|