-
Notifications
You must be signed in to change notification settings - Fork 159
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
Logs are written into stdout #65
Comments
I'm really not sure about this one as I've seen libraries writing logs to stdout. There is a define to control this ( |
Yeah, I’m currently disabled logging via |
I like tdlib's approach for logging: it writes logs into specified file and rotates it after exceeding specified size. It also has logging level customizable at runtime |
- grishka#65 - grishka#68 to work with telega-server
I've noticed that under linux logs are written into
stdout
. If some program links to libtgvoip and usesstdout
for its own purpose, there is no way to separate ordinary output from the program and logging output made by libtgvoip.Is not it a good practice for libraries to write logs/diagnostics to
stderr
instead ofstdout
?The text was updated successfully, but these errors were encountered: