You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I've noticed that my logs are all redirected to StandarError instead of StandardOutput.
Is there no way to only send error logs to stderr and normal logs to stdout?
To Reproduce
Start a sqlpage binary with StandardOutput and StandardError defined in a service as such:
All of the logs are redirected to StandardError.
The file /var/log/app.sqlpage.log is empty
The file /var/log/app.sqlpage-error.log contains all the logs
Expected behavior
Normal logs are sent to StandardOutput.
Error logs are sent to StandardError.
Since its latest version, sqlpage outputs well structured logs, that should be easy to parse and route as you need.
Routing logs to stdout vs stderr based on severity isn't really practical or desirable, imho. But we could route only access logs to stdout... I'll think about it
Activity
lovasoa commentedon Jun 8, 2026
Since its latest version, sqlpage outputs well structured logs, that should be easy to parse and route as you need.
Routing logs to stdout vs stderr based on severity isn't really practical or desirable, imho. But we could route only access logs to stdout... I'll think about it
https://12factor.net/logs