open-nomad/client
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
..
allocdir users: eliminate nobody user memoization (#16904) 2023-04-17 12:30:30 -05:00
allochealth [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
allocrunner logs: allow disabling log collection in jobspec (#16962) 2023-04-24 10:00:27 -04:00
allocwatcher [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
config client: allow `drain_on_shutdown` configuration (#16827) 2023-04-14 15:35:32 -04:00
consul [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
devicemanager [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
dynamicplugins Merge pull request #16836 from hashicorp/compliance/add-headers 2023-04-10 16:32:03 -07:00
fingerprint cni: fix plugin fingerprinting versions (#16776) 2023-04-20 18:44:39 -07:00
interfaces [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
lib [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
logmon [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
pluginmanager Merge pull request #16836 from hashicorp/compliance/add-headers 2023-04-10 16:32:03 -07:00
servers [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
serviceregistration [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
state hashicorp/go-msgpack v2 (#16810) 2023-04-17 17:02:05 -04:00
stats [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
structs hashicorp/go-msgpack v2 (#16810) 2023-04-17 17:02:05 -04:00
taskenv fix host port handling for ipv6 (#16723) 2023-04-20 19:53:20 -07:00
testutil hashicorp/go-msgpack v2 (#16810) 2023-04-17 17:02:05 -04:00
vaultclient [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
agent_endpoint.go hashicorp/go-msgpack v2 (#16810) 2023-04-17 17:02:05 -04:00
agent_endpoint_test.go hashicorp/go-msgpack v2 (#16810) 2023-04-17 17:02:05 -04:00
alloc_endpoint.go hashicorp/go-msgpack v2 (#16810) 2023-04-17 17:02:05 -04:00
alloc_endpoint_test.go hashicorp/go-msgpack v2 (#16810) 2023-04-17 17:02:05 -04:00
alloc_watcher_e2e_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
client.go client: allow `drain_on_shutdown` configuration (#16827) 2023-04-14 15:35:32 -04:00
client_stats_endpoint.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
client_stats_endpoint_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
client_test.go api: enable support for setting original job source (#16763) 2023-04-11 08:45:08 -05:00
csi_endpoint.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
csi_endpoint_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
drain.go client: allow `drain_on_shutdown` configuration (#16827) 2023-04-14 15:35:32 -04:00
drain_test.go client: allow `drain_on_shutdown` configuration (#16827) 2023-04-14 15:35:32 -04:00
driver_manager_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
enterprise_client_oss.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
fingerprint_manager.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
fingerprint_manager_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
fs_endpoint.go hashicorp/go-msgpack v2 (#16810) 2023-04-17 17:02:05 -04:00
fs_endpoint_test.go hashicorp/go-msgpack v2 (#16810) 2023-04-17 17:02:05 -04:00
gc.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
gc_test.go api: enable support for setting original job source (#16763) 2023-04-11 08:45:08 -05:00
heartbeatstop.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
heartbeatstop_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
meta_endpoint.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
meta_endpoint_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
node_updater.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
rpc.go hashicorp/go-msgpack v2 (#16810) 2023-04-17 17:02:05 -04:00
rpc_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
testing.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
util.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00