dotnet / dotNext

Next generation API for .NET
https://dotnet.github.io/dotNext/
MIT License
1.56k stars 119 forks source link

There are too many console logs in Tcp mode of Raft 4.12.3 #177

Closed Assur closed 1 year ago

Assur commented 1 year ago

20230614151017

sakno commented 1 year ago

Because Trace or Debug log level is turned on for your app.

Assur commented 1 year ago

I didn't turn on the log level. These logs were not output in version 4.12.2. After updating to version 4.12.3, there will be logs

sakno commented 1 year ago

It was a bug associated with logs which is fixed by ba1a6be0b0cf1a4ffed5f9551ae63fab01c25326. Before that, RaftCluster ignored custom ILoggerFactory in favor of NullLoggerFactory. This is why you didn't see any logs prior to 4.12.3.

Assur commented 1 year ago

Thank you so much.