Skip to content

Commit

Permalink
Use library specific logger (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmtrmt authored May 12, 2021
1 parent 273f0b0 commit 6d13e53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion placekey/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
console_log.setFormatter(
logging.Formatter('%(asctime)s\t%(levelname)s\t%(message)s')
)
log = logging.getLogger()
log = logging.getLogger(__name__)
log.setLevel(logging.ERROR)
log.handlers = [console_log]

Expand Down

0 comments on commit 6d13e53

Please sign in to comment.