open-nomad/drivers/docker
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
..
cmd [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
docklog [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
test-resources/docker [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
util [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
config.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
config_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
coordinator.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
coordinator_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
driver.go logs: allow disabling log collection in jobspec (#16962) 2023-04-24 10:00:27 -04:00
driver_darwin.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
driver_darwin_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
driver_default.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
driver_linux.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
driver_linux_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
driver_test.go logs: allow disabling log collection in jobspec (#16962) 2023-04-24 10:00:27 -04:00
driver_unix_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
driver_windows.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
driver_windows_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
fingerprint.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
fingerprint_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
handle.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
network.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
network_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
ports.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
ports_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
progress.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
progress_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
reconcile_cpuset.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
reconcile_cpuset_noop.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
reconcile_cpuset_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
reconcile_dangling.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
reconcile_dangling_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
state.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
stats.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
stats_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00: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
utils_unix_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
utils_windows_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
win32_volume_parse.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00