rabbitmq / ra

A Raft implementation for Erlang and Elixir that strives to be efficient and make it easier to use multiple Raft clusters in a single system.
Other
813 stars 96 forks source link

Changed logging level from WARN to DEBUG #349

Closed johkin closed 1 year ago

johkin commented 1 year ago

If a queue is removed before WAL is flushed to a segment file, two warning logs would be written. According to discussions this could be lowered to DEBUG level.

resolves rabbitmq/ra#348

Proposed Changes

Lower loglevel to debug after comment from @kjnilsson.

Types of Changes

What types of changes does your code introduce to this project? Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask on the mailing list. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

Further Comments

Hard to test logging behaviour?

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc.