Skip to content
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

Upgrade logger to support writing logs to both files and stdout/stderr at the same time. #2378

Open
brightcoder01 opened this issue Nov 25, 2020 · 1 comment

Comments

@brightcoder01
Copy link
Collaborator

In the current implementation, if we want to write the logging information to a file, we are using tee command.
It's a recommended way to upgrade the logger to support flushing the logs to both file and stdout/stderr.

@brightcoder01 brightcoder01 changed the title Upgrade logger to support write to both files and stdout/stderr at the same time. Upgrade logger to support writing logs to both files and stdout/stderr at the same time. Nov 25, 2020
@workingloong
Copy link
Collaborator

What if users use print in their model codes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants