buildkite / agent

The Buildkite Agent is an open-source toolkit written in Go for securely running build jobs on any device or network
https://buildkite.com/
MIT License
810 stars 299 forks source link

better documention for timestamp-lines #758

Open aaronorosen opened 6 years ago

aaronorosen commented 6 years ago

I needed to add: timestamp-lines=true to: buildkite-agent.cfg in order to get the timestamps to show up in the logs.

It would be nice if this option was added to buildkite-agent.cfg but commented out with a description above like several of the other config options.

It would be even better if this could be dynamically enabled and disabled by setting the BUILDKITE_TIMESTAMP_LINES env variable. This way users don't need to deal with updating the cfg file and restarting the agent. Setting that env variable does not seem to work without first editing the buildkite-agent.cfg.

(originally https://github.com/buildkite/feedback/issues/349)

KevinGrandon commented 6 years ago

I would vote for a UI checkbox/API method to toggle this as well, just to make things more difficult 😉