Optimize: use Serilog instead#1013
Conversation
481fe49 to
e4d8cc7
Compare
|
@superboyiii could you test it? |
Co-authored-by: Shargon <[email protected]>
|
All console log is not working... Are we going to cancel console log but just keep local log? |
No console log. Do we really need console log? |
We should be able to have both |
It can been done. Maybe |
Then you should remove console output related option in config. It's there but not working, making people confusing. |
|
@Wi1l-B0t I'm very confusing why you think the old log is simple. I haven't seen any improvement in this PR but just turn to Serilog instead. Here’s no configuration visible support for Serilog sinks like JSON, Seq, or Elasticsearch. Console output is removed and no colorful Loglevel anymore. For ordinary users the perceived change in the logs is minimal—possibly even worse if console output has stopped working. Anyway, I'm not against switching to Serilog, it's good. But I need to see any |
|
Should be optional, just a bool in config |
? This is a naive and inefficient way. |
OK. I will create an update to support the use of different sinks. |
|
|
I don’t see value in keeping two logging systems. Having both would only duplicate configuration and increase maintenance while Serilog already provides structured logging and better extensibility |


The previous logger is too simple.
So use
Seriloginstead of it.