Open james-r-parker opened 4 years ago
I was having this same issue. My API returned 201
instead of 200, and I would get continuous logs being sent. It seems like it should be an easy update.
Same issue for me, 201
is returned. Any plans to fix it?
Any Update?
I created a MR for this. https://github.com/kutuluk/loglevel-plugin-remote/pull/43 as it was quite annoying for me. Personally i started to create a local copy and modify it for my own purposes.
It appears that you are only checking for a HTTP status code of 200 when getting a response back from sending log entries to the server. This check should also check the entire 200 range for example 201 and 202 and 204