We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

oleksa borodie • 6 years ago

also it is possible to use appsettings.json file to configure the Azure logging like below:

"Serilog": {
"MinimumLevel": "Debug",
"WriteTo": [
{
"Name": "File",
"Args": {
"path": "d:\\home\\LogFiles\\rawLogs\\mw.log",
"rollingInterval": "Day",
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:u3}] {SourceContext} {Message:lj}{NewLine}{Exception}",
"shared": "true",
"flushToDiskInterval": "0:00:02"
}
}
],
you can have appsettings.Development.json and appsettings.Production.json files that has specific logging configuration per environment.