-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #697: nest loggers in the proper way
75af80b present naming preference (without trailing .log) (fametrano) 324b88e nest loggers in the proper way (fametrano) Pull request description: see also: - Blockstream/Jade#78 - LedgerHQ/ledgercomm#16 - trezor/trezor-firmware#3190 ACKs for top commit: achow101: ACK 75af80b Tree-SHA512: 2044b39680e2683fa0a25d9f50f66f8b204fc0b5685c032caef3ccd36cc255e10ce1676902e82a75d4fc7cacb5ea7b5de51a6839f46de4cc64a5010adf76c712
- Loading branch information
Showing
7 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
import logging | ||
|
||
|
||
logger = logging.getLogger('jade.serial') | ||
logger = logging.getLogger(__name__) | ||
|
||
|
||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
import logging | ||
|
||
|
||
logger = logging.getLogger('jade.tcp') | ||
logger = logging.getLogger(__name__) | ||
|
||
|
||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
|
||
import logging | ||
|
||
LOG = logging.getLogger("ledgercomm") | ||
LOG = logging.getLogger(__name__.rsplit(".", 1)[0]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters