This commit is contained in:
TylerCG 2025-05-12 16:30:19 -04:00
parent 06889cc413
commit c3c2e1b743
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ logging.basicConfig(
format='%(asctime)s - %(levelname)s - %(message)s'
)
logger = logging.getLogger(__name__)
logger = logging.getLogger("download_logger")
# Define the hook function
def my_hook(d):

View File

@ -13,7 +13,7 @@ os.makedirs("/data/logs", exist_ok=True)
# Setup timed rotating logger
log_path = "/data/logs/syllabus.log"
logger = logging.getLogger(__name__)
logger = logging.getLogger("main_logger")
logger.setLevel(logging.DEBUG)
# Remove any default handlers