Moved serilog config to appsettings and configured it to also catch MS logging messages.

Added Console log for Development
This commit is contained in:
Bjarke Berg
2020-09-17 09:01:10 +02:00
parent af59a7a0b9
commit 7d3bc9be1c
22 changed files with 170 additions and 322 deletions

View File

@@ -1,11 +1,28 @@
{
"Serilog": {
"MinimumLevel": {
"Default": "Information"
},
"WriteTo:1":
{
"Name": "Async",
"Args": {
"configure": [
{
"Name": "Console"
}
]
}
}
},
"Umbraco": {
"CMS": {
"Global":{
"Smtp": {
"From": "your@email.here",
"Host": "localhost",
"Port": "25"
// "From": "your@email.here",
// "Host": "localhost",
// "Port": "25"
}
},
"Hosting":{