20 lines
446 B
JSON
20 lines
446 B
JSON
|
{
|
|||
|
"Serilog": {
|
|||
|
"Using": [ "Serilog.Sinks.File" ],
|
|||
|
"MinimumLevel": "Information",
|
|||
|
"WriteTo": [
|
|||
|
{
|
|||
|
"Name": "File",
|
|||
|
"Args": {
|
|||
|
"path": "Logs/log_.log",
|
|||
|
"rollingInterval": "Day",
|
|||
|
"outputTemplate": "[{Timestamp:HH:mm:ss.fff}]{Level:u4}: {Message:lj}{NewLine}{Exception}"
|
|||
|
}
|
|||
|
}
|
|||
|
],
|
|||
|
"Enrich": [ "FromLogContext", "WithMachineName", "WithThreadId" ],
|
|||
|
"Properties": {
|
|||
|
"Application": "GasolineTanker"
|
|||
|
}
|
|||
|
}
|
|||
|
}
|