about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-08-13 13:11:20 -0500
committerFrederick Muriuki Muriithi2025-08-13 13:11:20 -0500
commit894021d27da14bfb0bf286e188a36741bc475906 (patch)
tree1eb5ec6b7580c9a0ebdf029128600fc86ed84751
parenta5df5cc238e38bc86f3f6ee53f8260db171f1b84 (diff)
downloadgn-libs-894021d27da14bfb0bf286e188a36741bc475906.tar.gz
Fix logger name: use the module's name. HEAD main
-rw-r--r--gn_libs/mysqldb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn_libs/mysqldb.py b/gn_libs/mysqldb.py
index be09e72..3f6390e 100644
--- a/gn_libs/mysqldb.py
+++ b/gn_libs/mysqldb.py
@@ -9,7 +9,7 @@ import MySQLdb as mdb
 from MySQLdb.cursors import Cursor
 
 
-_logger = logging.getLogger(__file__)
+_logger = logging.getLogger(__name__)
 
 class InvalidOptionValue(Exception):
     """Raised whenever a parsed value is invalid for the specific option."""