-
Notifications
You must be signed in to change notification settings - Fork 124
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
Sleep not working #5
Comments
Hello, In flog, the sleep function does not actually sleep every log generation, but only sets the interval of generation time between logs to be generated. So, if you run
Each generation times in above logs are:
Yes, It does not update the log file every 10 seconds, but just creates a log file immediately. |
Ahhhhh, I miss understood that, my apologies. Also, thank you for the fast response. Cheers! |
Hello,
I was unable to get the sleep function to work using the provided example:
flog -t gz -o log.gz -n 3000 -s 10
The code would execute and generate the log.gz archive, but not update. Same outcome on both Mac and Win10.
The text was updated successfully, but these errors were encountered: