Open CarmenAPuccio opened 5 years ago
@CarmenAPuccio Would it work if we kept application not dependent on AWS SDK as a base line? For example, it logs to stdout
and stderr
, and since stdout is easily captured, is there a downside to keeping it logging as is, and/or maybe implementing #31 (structured/JSON) logging for better machine analysis compatibility? Would that work for Fluent.
I think showcasing stdout / stderr is fine. The AWS SDK was just a suggestion but with that said, we should showcase structured logging in JSON format as it makes it much easier to parse and send downstream with FluentBit and/or FluentD.
https://aws.amazon.com/blogs/opensource/centralized-container-logging-fluent-bit/ https://github.com/aws/containers-roadmap/tree/master/preview-programs/firelens
We should walk users through the inner workings of application logging at the project level and how to integrate with FluentBit. Perhaps we standardize on a library like the AWS.Logger.AspNetCore library - https://github.com/aws/aws-logging-dotnet#aspnet-core-logging.