aio-libs / aio-libs/aiohttp

Add ability to specify custom AccessLogger and connection related parameters during application creation

Open
#3,077 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
16.5k
Forks
2.4k
Avg merge
17h 22m
Merged PRs (30d)
212

Description

## Long story short

This is follow up of [SO question](https://stackoverflow.com/questions/50801910/custom-access-log-in-aiohttp). Currently, there is no reliable and easy way to set custom AccessLogger class/instance when creating application. Possible solutions are either overcomplicated or use deprecated/not recommended techniques.

## Expected behaviour

Ability to set custom AccessLogger and connection related parameters during application creation/configuration. Before application startup.

## Actual behaviour

Lack of such ability.

## Steps to reproduce

NA

## Your environment

aiohttp==3.3.0

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.