From 7a8a09ffc95ee6fdd936ee906a68cdaa51569fb2 Mon Sep 17 00:00:00 2001 From: Norbert Szulc Date: Thu, 2 Jan 2025 22:09:47 +0100 Subject: [PATCH] DIsable logging to file --- whois/data/db/database.py | 1 - 1 file changed, 1 deletion(-) diff --git a/whois/data/db/database.py b/whois/data/db/database.py index ff4d372..aaacf44 100644 --- a/whois/data/db/database.py +++ b/whois/data/db/database.py @@ -25,7 +25,6 @@ def __init__(self, db_url: str = None): level=logging.DEBUG, force=True, ) - self.logger.addHandler(logging.FileHandler(f"db-{self.db_name}.log")) self.engine = db.create_engine(db_url) self.metadata = db.MetaData()