juxt / rock

Hardened AMIs for Clojure deployments (Arch Linux)
MIT License
7 stars 5 forks source link

Write CodeDeploy logs to journald #7

Open jcf opened 6 years ago

jcf commented 6 years ago

According to CodeDeploy's docs, log output goes to a file on disk, which likely won't be log rotated.

/var/log/aws/codedeploy-agent/codedeploy-agent.log

If we can instead log to stdout, that'll go via journald and be forwarded anywhere we need etc.