x-logging¶
The following parameter is identical in behaviour to x-aws-logs_retention defined in the docker ECS Plugin.
RetentionInDays: int
Hint
Alternatively you can use the ECS Plugin logging definition will ECS Compose-X will use. If both are defined, priority goes to the highest value.
RetentionInDays¶
Value to indicate how long should the logs be retained for the service.
Hint
If the value you enter is not in the allowed values, will set to the closest accepted value.
Hint
Emulates the CW Logs property RetentionInDays Property
Examples¶
services:
serviceA:
x-logging:
RetentionInDays: 42