aws-fargate

python logging in AWS Fargate, datetime duplicated

python logging in AWS Fargate, datetime duplicated Question: I’m trying to use python logging module in AWS Fargate. The same application should work also locally, so I’d like to use a custom logger for local use but to keep intact cloudwatch logs. This is what I’m doing: if logging.getLogger().hasHandlers(): log = logging.getLogger() log.setLevel(logging.INFO) else: from …

Total answers: 2

Mitigating TCP connection resets in AWS Fargate

Mitigating TCP connection resets in AWS Fargate Question: I am using Amazon ECS on AWS Fargate, My instances can access the internet, but the connection drops after 350 seconds. On average, out of 100 times, my service is getting ConnectionResetError: [Errno 104] Connection reset by peer error approximately 5 times. I found a couple of …

Total answers: 2