-
Notifications
You must be signed in to change notification settings - Fork 39
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
Issue since v.0.14.1 : no logs in output file #303
Comments
I've found the origin of the issue : we output-file we pass is So the fix is simple : filename given with the command should be normalized. |
Indeed the But there is still an issue with the flush of the writer when we stop the process. If we do not wait the end of the minute in order to flush the writer with the go routine and that we stop the process, no data is written. Is it intended not to flush the writer at the end of the process since the version 0.14.1 ? |
I found the issue with the writer that is not flushed at the end of program. In |
Bot issues should be fixed, thanks to @mlallaouret ! |
Here are binaries with fixes: |
@buger Thank you for the fixed binaries. Perhaps there could be more visibility for this issue? I spent quite a while tracking down what was going on |
More verbose error messages will definitly help |
@QasimK @ylegat @mlallaouret happy to announce just released v0.15.0 version, which include those fixes. |
Hey @buger , I think there is an issue with version 0.14.1. Apparently, logs are not written in the output file. Gor is launch with :
Two HTTP requests are then executed and we stop Gor manually. After the stop, the log file has been created but it is empty. We did a try using version 0.13.0 using the same protocol and it worked. Of course due to the bug present in the version 0.14.0 we were not able to test it.
Are you aware of this issue ?
EDIT 1 : the data are correctly written when the flush is called by the go routine, so every minutes by default
EDIT 2 : actually, we are always missing the first requests logged, even after some flushes. I just did a try without 2000 requests. The first one (sometimes a few, sometimes a hundred) are missing. I think the first file is neither flush nor closed.
The text was updated successfully, but these errors were encountered: