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

add fflush(stdout) to log method #47

Open
dwoske opened this issue Sep 6, 2016 · 1 comment
Open

add fflush(stdout) to log method #47

dwoske opened this issue Sep 6, 2016 · 1 comment

Comments

@dwoske
Copy link

dwoske commented Sep 6, 2016

When daemonized, the logging from mon may appear very distant from where/when it actually happens...

./mon -d -l sleep.log "echo hi; sleep 2"

will make that obvious. I have a pull request to flush stdout, making the mon log statements appear immediately

tj added a commit that referenced this issue Sep 7, 2016
issue #47 : add fflush(stdout) to log method
@jtoy
Copy link

jtoy commented Dec 3, 2022

can we close this?

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