resource.vpress.vn
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
},
|
||||
"NLog": {
|
||||
"extensions": [
|
||||
{ "assembly": "NLog.Extensions.Logging" }
|
||||
],
|
||||
"targets": {
|
||||
"file": {
|
||||
"type": "File",
|
||||
"fileName": "${currentDir}/Logs/Log-${shortdate}.log",
|
||||
"layout": "${longdate}|${event-properties:item=EventId_Id:whenEmpty=0}|${uppercase:${level}}|${callsite}: ${message}${newline:when=length('${exception}')>0}${exception:format=tostring}"
|
||||
}
|
||||
},
|
||||
"rules": [
|
||||
{
|
||||
"logger": "*",
|
||||
"minLevel": "Trace",
|
||||
"writeTo": "file"
|
||||
}
|
||||
]
|
||||
},
|
||||
"AllowedHosts": "*"
|
||||
}
|
||||
Reference in New Issue
Block a user