I'm currently configuring Serilog to log to AWS CloudWatch, and my code should automatically create a new log group. My AWS user has the necessary permissions to create a log group, but no log group was created, and no exception was thrown.
After a long troubleshooting process, I discovered that the logs:DescribeLogGroups permission also needs to be added to the policy for Serilog to function properly. Once I added this permission, logging to CloudWatch started working, and the log group was created as expected.
However, no error message was thrown indicating that the logs:DescribeLogGroups permission was missing. It would be very helpful if an error could be added to indicate when this permission is lacking, so that future users can resolve this configuration issue more quickly.
I'm currently configuring Serilog to log to AWS CloudWatch, and my code should automatically create a new log group. My AWS user has the necessary permissions to create a log group, but no log group was created, and no exception was thrown.
After a long troubleshooting process, I discovered that the logs:DescribeLogGroups permission also needs to be added to the policy for Serilog to function properly. Once I added this permission, logging to CloudWatch started working, and the log group was created as expected.
However, no error message was thrown indicating that the logs:DescribeLogGroups permission was missing. It would be very helpful if an error could be added to indicate when this permission is lacking, so that future users can resolve this configuration issue more quickly.
Thank you for considering this improvement!