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

Question on Logging Output #41

Closed
mfrey opened this issue Jan 28, 2015 · 2 comments
Closed

Question on Logging Output #41

mfrey opened this issue Jan 28, 2015 · 2 comments

Comments

@mfrey
Copy link

mfrey commented Jan 28, 2015

Hi,

I've got the "issue" that the logging output (file logger) is not written immediately to the logfile. I'm wondering if it is possible to "flush" from time to time the logging output to the file?

I've also got the weird behavior that the console logging ist not writen immediatly to stdout. Is that on purpose or is this most likely an issue in my code?

Thanks in advance!
Best,
Michael

@gabime
Copy link
Owner

gabime commented Jan 28, 2015

You can set the force_flush param to true to force flush on every line.
About the weird behavior, please post the code

@gabime
Copy link
Owner

gabime commented Jan 28, 2015

Try latest commit - b7b421c - it forces flush to stdout

@gabime gabime closed this as completed Jan 29, 2015
bachittle pushed a commit to bachittle/spdlog that referenced this issue Dec 22, 2022
This is to ensure OpenTelemetry works without exception handling.
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