Skip to content

Commit

Permalink
fixed main logger name (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
bentheiii authored Sep 1, 2022
1 parent 641f89a commit bf9f6d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* Docker container now runs with a limited user
### Fixed
* returning 304 no longer logs an error "Too much data for declared Content-Length"
* most logs were incorrectly sent under the wrong logger name
## 0.5.1
### Added
* Added a generic handler for unhandled errors
Expand Down
2 changes: 1 addition & 1 deletion heksher/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from heksher.health_monitor import HealthMonitor
from heksher.util import db_url_with_async_driver

logger = getLogger(__name__)
logger = getLogger('heksher')

connection_string = EnvVar('HEKSHER_DB_CONNECTION_STRING', type=db_url_with_async_driver)
startup_context_features = EnvVar('HEKSHER_STARTUP_CONTEXT_FEATURES', type=CollectionParser(';', str), default=None)
Expand Down

0 comments on commit bf9f6d8

Please sign in to comment.