Skip to content

Commit

Permalink
add logs to task
Browse files Browse the repository at this point in the history
  • Loading branch information
tonymmm1 committed Sep 23, 2024
1 parent d728e8e commit 6bbdc73
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion task-definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,18 @@
"mountPoints": [],
"volumesFrom": [],
"ulimits": [],
"systemControls": []
"systemControls": [],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-create-group": "true",
"awslogs-group": "awslogs-kadane-backend",
"awslogs-region": "us-east-2",
"awslogs-stream-prefix": "awslogs-kadane-backend",
"mode": "non-blocking",
"max-buffer-size": "25m"
}
}
}
],
"executionRoleArn": "arn:aws:iam::905418014870:role/ecsTaskExecutionRole",
Expand Down

0 comments on commit 6bbdc73

Please sign in to comment.