Closed itsdalmo closed 6 years ago
Might it just be better to log directly to cloudwatch logs with something like https://github.com/kdar/logrus-cloudwatchlogs?
Thoughts on https://github.com/buildkite/lifecycled/pull/38 as an alternative @itsdalmo?
Closing in favor of #38 👍
In order to support CloudWatch logging, this PR allows us to write to a log file in addition to outputting to
journalctl
. The benefit of which is that we don't have to write asystemd
unit just for tailing thejournalctl
logs and passing them to a file in order for the awslogs agent to send them to CloudWatch.It's an optional parameter since not everyone is necessarily running on
systemd
(or want this).