Skip to content

Commit 731dd6d

Browse files
committed
tweaked logger name
1 parent 42cd993 commit 731dd6d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
package_dir={"": "src"},
1717
packages=["cs50"],
1818
url="https://github.com/cs50/python-cs50",
19-
version="2.3.1"
19+
version="2.3.0"
2020
)

src/cs50/sql.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ def __init__(self, url, **kwargs):
2222
http://docs.sqlalchemy.org/en/latest/dialects/index.html
2323
"""
2424

25-
# log statements to standard error, hard-coding name because module is technically cs50.sql
25+
# log statements to standard error
2626
logging.basicConfig(level=logging.DEBUG)
27-
self.logger = logging.getLogger("cs50.SQL")
27+
self.logger = logging.getLogger("cs50")
2828

2929
# create engine, raising exception if back end's module not installed
3030
self.engine = sqlalchemy.create_engine(url, **kwargs)

0 commit comments

Comments
 (0)