tee logs to stdout+stderr #690

Open
opened 2026-02-04 20:50:36 +03:00 by OVERLORD · 2 comments
Owner

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

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_
Author
Owner

@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 transport File is conflicting and the next is not used:

2c84390b8c/server/utils/logger.js (L29)

@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 transport `File` is conflicting and the next is not used: https://github.com/plankanban/planka/blob/2c84390b8c9628a1e2213dd31b97dc951723a6d4/server/utils/logger.js#L29
Author
Owner

@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.

@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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#690