We could start with replacing all of our print statements with calls to our logger.
In the local development environment, we want to log to stdout (or a local file).
In the production environment, AWS CloudWatch will work (though, I'm open to other suggestions).
Actually, Zappa and those print statements we've sprinkled throughout our code are currently being logged to CloudWatch, but this is currently too noisy. We need a way to filter down to just logging statements that we add (exclude the Zappa log statements).
We could start with replacing all of our print statements with calls to our logger.
In the local development environment, we want to log to stdout (or a local file).
In the production environment, AWS CloudWatch will work (though, I'm open to other suggestions).
Actually, Zappa and those print statements we've sprinkled throughout our code are currently being logged to CloudWatch, but this is currently too noisy. We need a way to filter down to just logging statements that we add (exclude the Zappa log statements).
Some potential helpful resources: