-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
OutputFile logging option #790
base: main
Are you sure you want to change the base?
OutputFile logging option #790
Conversation
Hi! I'm not a big fan of such addition, because in the Kubernetes world, it's a up to the user to handle logs in a container-native way. Some users would use What's your use-case ? |
Basically I'm looking for an option to log to an output file as well, which further could be forwarded or collected using a sidecar. |
Quality Gate passedIssues Measures |
Can't you just forward stdout logs to a file for this use-case ? |
Yes that is one approach but log rotation, archival and cleanups also needs to be handled somehow though. |
Hi @mbalamaruthu ! After checking your PR another time, it may be ok to merge this PR but I would like to make this more configurable.
WDYT ? |
Add an option to log to a file using lumberjack in addition to stdout logging