I would appreciate some guidance in setting up a Serilog sink for AWS CloudWatch with .NET Core. I\'m using appsettings.json for configuration but I am unable to put the set
Just in case anyone has the same problem, this appsettings.json solved it:
{
"Logging": {
"LogLevel": {
"Default": "Warning"
}
},
"Serilog": {
"Using": [ "AWS.Logger.SeriLog" ]
"Region": "eu-west-1",
"LogGroup": "MyLogGroup",
"LogLevel": {
"Default": "Information",
"System": "Information",
"Microsoft": "Information"
}
},
"AllowedHosts": "*"
}