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
Jaeger log output to file #1775
Comments
@panjunDev Does this help? |
yes. |
I was about to close this, however zap supports logging to a file uber-go/zap#294. We could have a switch with paths to log files. |
I would not recommend it. There are some scenarios where zap is not yet initialized and we write to stdout/err. And in general, knowing what to do with logs is the business of the orchestration system, not the application. If we start writing to files, we need to rotate them, that's additional configuration, etc. |
Let's close this then. We don't want to pull in more logic for log management. Users can redirect stdout/stderr to a file and rotate it by an external utility like |
if there a way to output log to a logfile and carve up by date,like this '2019-09-06.log'
The text was updated successfully, but these errors were encountered: