wip: uvicorn logging conf to json

This commit is contained in:
Jakub Miazek
2024-08-17 10:45:51 +02:00
parent a58e98c4b1
commit 6f0b097d2d
9 changed files with 166 additions and 57 deletions

View File

@@ -20,5 +20,5 @@ class AppLogger(metaclass=SingletonMeta):
class RichConsoleHandler(RichHandler):
def __init__(self, width=200, style=None, **kwargs):
super().__init__(
console=Console(color_system="256", width=width, style=style), **kwargs
console=Console(color_system="256", width=width, style=style, stderr=True), **kwargs
)