Skip to content

Commit dc8f270

Browse files
committed
Fix logger names
1 parent a237756 commit dc8f270

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

oauth2cli/assertion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import jwt
88

99

10-
logger = logging.getLogger(__file__)
10+
logger = logging.getLogger(__name__)
1111

1212
class Signer(object):
1313
def sign_assertion(

oauth2cli/authcode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from .oauth2 import Client
2222

2323

24-
logger = logging.getLogger(__file__)
24+
logger = logging.getLogger(__name__)
2525

2626
def obtain_auth_code(listen_port, auth_uri=None):
2727
"""This function will start a web server listening on http://localhost:port

0 commit comments

Comments
 (0)