From 574531776ecdfda093a644d5a808626faf1d4ed8 Mon Sep 17 00:00:00 2001 From: chengchongzhen <15939054361@163.com> Date: Thu, 9 Jan 2025 13:01:01 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E4=BA=86=20logger=20?= =?UTF-8?q?=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cursor_pro_keep_alive.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/cursor_pro_keep_alive.py b/cursor_pro_keep_alive.py index ee3ed77..9a21ba2 100644 --- a/cursor_pro_keep_alive.py +++ b/cursor_pro_keep_alive.py @@ -7,20 +7,11 @@ import time import random from cursor_auth_manager import CursorAuthManager import os -import logging +from logger import logging from browser_utils import BrowserManager from get_email_code import EmailVerificationHandler from logo import print_logo -# 在文件开头设置日志 -logging.basicConfig( - level=logging.INFO, - format="%(asctime)s - %(levelname)s - %(message)s", - handlers=[ - logging.StreamHandler(), - logging.FileHandler("cursor_keep_alive.log", encoding="utf-8"), - ], -) def handle_turnstile(tab):