open-nomad/jobspec
Tim Gross 72cbe53f19
logs: allow disabling log collection in jobspec (#16962)
Some Nomad users ship application logs out-of-band via syslog. For these users
having `logmon` (and `docker_logger`) running is unnecessary overhead. Allow
disabling the logmon and pointing the task's stdout/stderr to /dev/null.

This changeset is the first of several incremental improvements to log
collection short of full-on logging plugins. The next step will likely be to
extend the internal-only task driver configuration so that cluster
administrators can turn off log collection for the entire driver.

---

Fixes: #11175

Co-authored-by: Thomas Weber <towe75@googlemail.com>
2023-04-24 10:00:27 -04:00
..
test-fixtures logs: allow disabling log collection in jobspec (#16962) 2023-04-24 10:00:27 -04:00
helper.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
helper_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
parse.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
parse_group.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
parse_job.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
parse_multiregion.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
parse_network.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
parse_service.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
parse_task.go logs: allow disabling log collection in jobspec (#16962) 2023-04-24 10:00:27 -04:00
parse_test.go logs: allow disabling log collection in jobspec (#16962) 2023-04-24 10:00:27 -04:00
utils.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
utils_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00