Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New logging system for the python backend #2740

Open
RunDevelopment opened this issue Apr 4, 2024 · 0 comments
Open

New logging system for the python backend #2740

RunDevelopment opened this issue Apr 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@RunDevelopment
Copy link
Member

We need a new logging system for the backend. As Joey pointed out before, all logging for the backend is actually done by the frontend, so if anything happens to the frontend, we lose all backend logs.

Joey suggested having one log file for the host process and one log file for the worker process, but I'm not sure whether this is the best approach. Having many different log files will make it more difficult to see how logged event across processes correlate with each other. Yes, we can manually order them by time, but that only has a 1s precision.

We also recently had a bug that was caused by an incorrect usage of sanic (#2679, #2738), so need not only a better way to transport log message, but also a logger with a better API.

@RunDevelopment RunDevelopment added the enhancement New feature or request label Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant