Closed daipom closed 1 year ago
fluent/log.rb:372:error: Worker 0 finished unexpectedly with status 0
I think we should change the severity according to the status
.
In the above example, it should be info
since the status
is 0
.
I'll check it.
I've added a commit to treat exit status 0
as INFO
(otherwise ERROR
as before).
Could you check it? @daipom @fujimotos
@ashie Thanks for the fix! I have checked this solves #113. LGTM.
I've added a commit to treat exit status 0 as INFO (otherwise ERROR as before).
I pulled the changeset to my tree this morning. I'm going to peform more tests on this. Wait for me.
I pulled the changeset to my tree this morning. I'm going to peform more tests on this. Wait for me.
OK. I checked out this branch in combination with the latest Fluentd
tree. It basically worked: sending HUP to the supervisor terminated
workers gracefully, while kill -9 <worker_id>
causes an error.
So I merged this in a38bbb715, with a small fix on log messages.
This log level was changed to ERROR by the fix: #113.
However, this log is outputted when using SIGHUP, so ERROR is too strong. Leave it as Warn as an adjustment for now.
Before
After