DEV Community

Discussion on: Django and Cloudwatch: Logging in a place you can see

Collapse
 
ashman profile image
Ashman • Edited

I did something like this:

logger_boto3_session = boto3.client(
"logs",
aws_access_key_id=CLOUDWATCH_AWS_ID,
aws_secret_access_key=CLOUDWATCH_AWS_KEY,
region_name=AWS_DEFAULT_REGION,
)

and changing boto3_session to boto3_client in handlers