dolittle-obsolete / DotNET.Fundamentals

Reusable, fundamental abstractions and building blocks
http://www.dolittle.io
MIT License
4 stars 8 forks source link

Logging - JsonLogAppender is not honouring log settings #197

Open smithmx opened 5 years ago

smithmx commented 5 years ago

The default appender uses Microsoft logging which you can configure from appsettings.json.

In production, we are hard-coded to use JsonLogAppender which does not honour the settings.

┆Issue is synchronized with this Asana task

smithmx commented 5 years ago

Bump. We are logging way too much info! :-)

einari commented 5 years ago

What settings is it that needs to be honored?

smithmx commented 5 years ago

LogLevels. So, if on dev I say I’m only interested in Warnings or Errors, it works. When it goes to prod it logs everything.