Skip to content

Commit

Permalink
Merge pull request #39 from improbable-eng/fix-log-output
Browse files Browse the repository at this point in the history
Make the agent log output actually target a file
  • Loading branch information
Sean Robertson authored Jul 31, 2020
2 parents 7a9f789 + c62e029 commit 3ab083c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/buildkite-agent.override.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ User={{ buildkite_agent_username }}

# These options will only work on systemd newer than late 2017 (https://github.com/systemd/systemd/issues/3991)
# On older systemd, they will generate a warning, but no error.
StandardOutput=file:{{ buildkite_agent_logs_dir[ansible_os_family] }}
StandardError=file:{{ buildkite_agent_logs_dir[ansible_os_family] }}
StandardOutput=file:{{ buildkite_agent_logs_dir[ansible_os_family] }}/buildkite-agent.log
StandardError=file:{{ buildkite_agent_logs_dir[ansible_os_family] }}/buildkite-agent.log

0 comments on commit 3ab083c

Please sign in to comment.