aio-libs / aio-libs/aiohttp

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

Đang mở
#3,077 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Python
Star
16.5k
Fork
2.4k
Merge trung bình
17 giờ 22 phút
Pull request đã merge (30 ngày)
212

Mô tả

## 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.