aws / amazon-ecs-init

ecs-init is now part of the amazon-ecs-agent repo https://github.com/aws/amazon-ecs-agent/tree/master/ecs-init
https://github.com/aws/amazon-ecs-agent
Apache License 2.0
200 stars 118 forks source link

Log what pre-start is doing #473

Closed sparrc closed 2 years ago

sparrc commented 2 years ago

Summary

Logs what the pre-start function in ecs-init is doing, so that us and customers can understand what is taking time during ecs-init package startup. This will log to the ecs service's systemd journal before the agent container starts.

Testing

amazon-ecs-init binary was manually built and tested.

Description for the changelog

Enhancement - Add more granular logging to ecs-init prestart process.

Licensing

This contribution is under the terms of the Apache 2.0 License: yes