-
Notifications
You must be signed in to change notification settings - Fork 9
Format logs on server #532
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
Conversation
@osabahat Can you update this for 3.11? |
@c-simpson |
Osman, Looking at your log lines:
I don't think that "host" gives much value as it will be added by the log collector. On the server logging we've got a timestamp like |
I removed the I also changed uwsgi's behavior so that by default it will only log 400/500 errors. In order to change this to display other logs, one would need to delete the Here's a prettified example hitting
|
Change |
…line into 564-nginx-logging
564 nginx logging
Formats the uwsgi output on the server. Example after launching the app:
The full list of options for uwsgi logging flags can be found in the docs:
https://uwsgi-docs.readthedocs.io/en/latest/LogFormat.html