I'm building a web server which will be implemented using .NET Core

Do you have a recommendation for a logging tool/library?


I would recommend you to use Log4Net or SeriLog both of them have great facilities for logging, But in addition, logging storage for processing is important too. For this purpose, I would recommend you use elastic-search which you can use Nest library in .Net core to communicate with it.

  • What's the difference between log4net and SeriLog? I heard more about log4net – Yonatan Nir Oct 16 '19 at 11:54
  • try to read this article : blog.elmah.io/serilog-vs-log4net – Mortaza Ghahremani Oct 16 '19 at 11:57
  • There's no problem logging directly to a DB using SeriLog right? – Yonatan Nir Oct 16 '19 at 12:06
  • Not at all, both of them have powerful Appenders for Database (SqlServer, Mongo, Elastic) – Mortaza Ghahremani Oct 16 '19 at 12:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.