mirror of
https://github.com/plankanban/planka.git
synced 2026-02-05 00:39:58 +03:00
tee logs to stdout+stderr #690
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Morriz on GitHub (Apr 22, 2025).
Is this a feature for the backend or frontend?
Backend
What would you like?
Please please please make your logger split output to stdout+stderr as well as that is the convention for containerized applications. Logfiles are soooooo 2012 ;p
Why is this needed?
Logging does NOT work even after following all the docs and going into all rabbit holes...but that is not the main reason: most of us run multiple apps and those all output to stderr+stdout so that we can use offload docker output to a centralized logging application.
Other information
No response
@Morriz commented on GitHub (Apr 22, 2025):
I see that Winston is used with an extra transport for
Console, but there is no output at all coming from the planka container, leading me to believe that the first transportFileis conflicting and the next is not used:2c84390b8c/server/utils/logger.js (L29)@meltyshev commented on GitHub (Apr 22, 2025):
Hmm, I just checked, and when I run
docker compose up, I see the same messages in the console that are also written to the log file.