Skip to content

Commit

Permalink
Add logging to Celery container
Browse files Browse the repository at this point in the history
  • Loading branch information
jonodrew committed Jun 2, 2023
1 parent b170783 commit 35cb54e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mentor_match_infra/mentor_match_infra/mentor_match_stack.py
Expand Up @@ -142,6 +142,9 @@ def __init__(
),
container_name="worker",
environment=broker_vars,
logging=ecs.AwsLogDriver(
stream_prefix="celery", mode=ecs.AwsLogDriverMode.NON_BLOCKING
),
)

celery_worker = ecs.FargateService(
Expand Down

0 comments on commit 35cb54e

Please sign in to comment.