Skip to content

Commit

Permalink
chore: fix accesslog logger name
Browse files Browse the repository at this point in the history
  • Loading branch information
nikicat committed Feb 19, 2023
1 parent ea7fa1e commit dc0d687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion donate4fun/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ async def serve():
if settings.twitter.enable_bot:
await stack.enter_async_context(run_twitter_bot_restarting(db))
hyper_config = Config.from_mapping(settings.hypercorn)
hyper_config.accesslog = logging.getLogger('hypercorn.acceslog')
hyper_config.accesslog = logging.getLogger('hypercorn.accesslog')
iface = hyper_config.bind[0].split(':')[0]
hyper_config.bind = f'{iface}:{settings.api_port}'
if settings.bugsnag:
Expand Down

0 comments on commit dc0d687

Please sign in to comment.