TheCultOfRa
01/21/2025, 12:26 AMTheCultOfRa
01/21/2025, 3:10 PMTheCultOfRa
01/23/2025, 3:17 AMMike Chambers
01/23/2025, 9:27 AMjson
"Serilog": {
"MinimumLevel": {
"Default": "Information"
},
"WriteTo": [
{
"Name": "Async",
"Args": {
"configure": [
{
"Name": "Seq",
"Args": {
"apiKey": "XXXXX",
"restrictedToMinimumLevel": "Information"
}
}
]
}
},
{
"Name": "UmbracoFile",
"Args": {
"RestrictedToMinimumLevel": "Fatal"
}
}
]
},
So filebased logging is restricted.. and then add a centralised external log, for us via SEQ.. (adding <PackageReference Include="Serilog.Sinks.Seq" Version="8.0.0" />
)
With https://datalust.co/ GUI/server setup for great log reporting etc..
but no reason why you can't use any centralised log store supported by serilog sinks..
https://github.com/serilog/serilog/wiki/provided-sinksLuuk Peters (Proud Nerds)
01/23/2025, 9:36 AMMike Chambers
01/23/2025, 2:10 PMLuuk Peters (Proud Nerds)
01/23/2025, 2:53 PMjson
"Serilog": {
"Using": [ "Serilog.Sinks.ApplicationInsights" ],
"MinimumLevel": {
"Default": "Information"
},
"WriteTo": [
{
"Name": "ApplicationInsights",
"Args": {
"connectionString": "***",
"telemetryConverter": "Serilog.Sinks.ApplicationInsights.TelemetryConverters.TraceTelemetryConverter, Serilog.Sinks.ApplicationInsights"
}
}
]
},
Mike Chambers
01/23/2025, 4:04 PMtype=trace
though so nothing shows on the info graphs in the azure portal backoffice , failed requests etc...TheCultOfRa
01/23/2025, 4:18 PM