asgi-logger icon indicating copy to clipboard operation
asgi-logger copied to clipboard

Access logger for ASGI servers! :tada:

Results 16 asgi-logger issues
Sort by recently updated
recently updated
newest added

I expect the configured root path to appear only once in the logs but they do appear twice since starlette 0.33 and [this](https://github.com/encode/starlette/pull/2352) change. Starlette = 0.33 ```py async def...

Because of setting lower-cased header names in `AccessLogAtoms`, the `b` directive never finds the `{Content-Length}o` key and always returns `-`: ```python ... "B": self["{Content-Length}o"], "b": self.get("{Content-Length}o", "-"), ... ``` The...

`BaseException`s that are not a subclass of `Exception` break the middleware, resulting in a `KeyError`. Starlette and FastAPI don't handle these in their `ServerErrorMiddleware`, either, so I think setting the...

The full stack below. ``` ERROR: Exception in ASGI application Traceback (most recent call last): File "/app/.venv/lib/python3.11/site-packages/uvicorn/protocols/http/h11_impl.py", line 408, in run_asgi result = await app( # type: ignore[func-returns-value] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File...

Hi! I am trying this library with KServe (see https://github.com/kserve/kserve/pull/2782) and I noticed that headers like User-Agent are not automatically escaped. Could it be a feature to add? For example,...

I got the following error when running `make install`: ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source...

Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.15.0 to 3.1.1. Release notes Sourced from pre-commit's releases. pre-commit v3.1.1 Fixes Fix rust with language_version and a non-writable host RUSTUP_HOME. pre-commit-ci/issues#173 by @​Swiftb0y. #2788 by @​asottile....

dependencies

Bumps [black](https://github.com/psf/black) from 21.9b0 to 23.1.0. Release notes Sourced from black's releases. 23.1.0 Highlights This is the first release of 2023, and following our stability policy, it comes with a...

dependencies

Bumps [isort](https://github.com/pycqa/isort) from 5.9.3 to 5.12.0. Release notes Sourced from isort's releases. 5.12.0 Changes Fix poetry pip-shims extras dependency (#2078) @​jooola Add the ability to restrict which directories isort works...

dependencies