57 lines
1.7 KiB
JSON
57 lines
1.7 KiB
JSON
{
|
|
"AllowedHosts": "*",
|
|
"BuildNumber": "1",
|
|
"Company": "Infineon Technologies Americas Corp.",
|
|
"ConnectionString": "Server=MESSV01EC.EC.LOCAL\\PROD1,53959;Database=LSL2SQL;User Id=srpadmin;Password=0okm9ijn;TrustServerCertificate=true",
|
|
"GitCommitSeven": "1234567",
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft": "Warning",
|
|
"Log4netProvider": "Debug",
|
|
"Microsoft.Hosting.Lifetime": "Information"
|
|
}
|
|
},
|
|
"LoggingDirectory": "D:/tmp/logging/MesaReportingServices/API",
|
|
"IsDevelopment": false,
|
|
"IsStaging": false,
|
|
"MonAResource": "ReportingServicesApiEc",
|
|
"MonASite": "auc",
|
|
"Serilog": {
|
|
"Using": [
|
|
"Serilog.Sinks.Console",
|
|
"Serilog.Sinks.File"
|
|
],
|
|
"MinimumLevel": "Information",
|
|
"WriteTo": [
|
|
{
|
|
"Name": "Debug",
|
|
"Args": {
|
|
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level}] ({SourceContext}.{MethodName}) ({InstanceId}) ({RemoteIpAddress}) {Message}{NewLine}{Exception}"
|
|
}
|
|
},
|
|
{
|
|
"Name": "Console",
|
|
"Args": {
|
|
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level}] ({SourceContext}.{MethodName}) ({InstanceId}) ({RemoteIpAddress}) {Message}{NewLine}{Exception}"
|
|
}
|
|
},
|
|
{
|
|
"Name": "File",
|
|
"Args": {
|
|
"path": "%workingDirectory% - Log/log-.txt",
|
|
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level}] ({SourceContext}.{MethodName}) ({InstanceId}) ({RemoteIpAddress}) {Message}{NewLine}{Exception}",
|
|
"rollingInterval": "Hour"
|
|
}
|
|
}
|
|
],
|
|
"Enrich": [
|
|
"FromLogContext",
|
|
"WithMachineName",
|
|
"WithThreadId"
|
|
],
|
|
"Properties": {
|
|
"Application": "Sample"
|
|
}
|
|
}
|
|
} |