Skip to content

Commit 8c16f38

Browse files
Configure package logger in addition to dipdup one (#524)
1 parent 8b985de commit 8c16f38

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ The format is based on [Keep a Changelog], and this project adheres to [Semantic
88

99
### Fixed
1010

11+
- cli: Configure package logger in addition to `dipdup` one.
1112
- tzkt: Fixed deserializing `EventData` model.
1213

1314
## [6.2.0] - 2022-10-12

src/dipdup/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1562,6 +1562,7 @@ def set_up_logging(self) -> None:
15621562
LoggingValues.verbose: logging.DEBUG,
15631563
}[self.logging]
15641564
logging.getLogger('dipdup').setLevel(level)
1565+
logging.getLogger(self.package).setLevel(level)
15651566

15661567
def _import_index(self, index_config: IndexConfigT) -> None:
15671568
_logger.debug('Loading callbacks and typeclasses of index `%s`', index_config.name)

0 commit comments

Comments
 (0)