We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
As my app runs inside container, it is very practical to do:
kubectl get logs ...
But it is also needed to store logs into a file, and have a bit more logs here. Is it possible to do it with logrus?
The text was updated successfully, but these errors were encountered:
io.MultiWriter
Sorry, something went wrong.
Code example in #1069
For duplicating log output to a file:
io.Multiwriter
But if you are in a kubernetes environment, I strongly suggest you set up a log collecting system (ELK stack for example).
This issue is stale because it has been open for 30 days with no activity.
dgsb
No branches or pull requests
Hi,
As my app runs inside container, it is very practical to do:
But it is also needed to store logs into a file, and have a bit more logs here. Is it possible to do it with logrus?
The text was updated successfully, but these errors were encountered: