Using instructions from
https://docs.microsoft.com/en-us/dotnet/core/extensions/custom-logging-provider
custom log provider was created which logs errors to da