aiologger icon indicating copy to clipboard operation
aiologger copied to clipboard

Asynchronous logging for Python and asyncio

Results 26 aiologger issues
Sort by recently updated
recently updated
newest added

To reproduce this bug, use the following code: ``` import sys import pytest from fastapi import FastAPI, APIRouter from httpx import AsyncClient from starlette.requests import Request from aiologger.logger import Logger...

Remove suporte ao Python 3.6 e faz os testes rodarem no Python 3.8 e 3.9

breaking-change

- Atualizando orjson e uvloop - Re-gerando Pipfile.lock - Removendo a passagem explícita do argumento loop

Vamos fechar uma nova breaking change, que removerá a possibilidade de passar o parametro `loop` (essa possibilidade foi totalmente removida no python 3.10). Aproveitando vamos remover a compatibilidade com python...

In usage https://async-worker.github.io/aiologger/usage.html in Lazy initialization the code example exactly the same as in Using aiologger with the async/await syntax Probably it is mistake. ``` import asyncio from aiologger import...

The links from docs to GitHub seem to have an old username in them. https://github.com/b2wdigital/aiologger In fork me, in star, etc. And also on pypi.

Why does `aiologger` close `sys.stdout` or any handler it doesn't `open()`? ```python import asyncio import aiologger async def testaiolog(): logger = aiologger.Logger.with_default_handlers(name="my-logger") await logger.info("foo") print("works") asyncio.run(testaiolog()) print("doesn't work") ``` results...

https://github.com/async-worker/aiologger/blob/ed53c805fdcd653445a624561a71a01ba4cf6cc6/aiologger/formatters/json.py#L175 howdy! shouldn't this be `msg[self.default_msg_fieldname] = record.msg`, just like the `JsonFormatter` ? there's probably something else to be done on line 173 if `msg` is already present in the...

An old unresolved issue (https://github.com/b2wdigital/aiologger/issues/97). Python's logging library supports positional formatting arguments and not only mapping arguments. I added support for this in aiologger, more details are in the commit...