open-nomad/nomad/structs
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
..
config client: allow `drain_on_shutdown` configuration (#16827) 2023-04-14 15:35:32 -04: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
alloc.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
alloc_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
autopilot.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
batch_future.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
batch_future_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
bitmap.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
bitmap_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
check_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
checks.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
connect.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
connect_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
consul.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
consul_oss.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
consul_oss_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
consul_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
csi.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
csi_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
devices.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
devices_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
diff.go fix host port handling for ipv6 (#16723) 2023-04-20 19:53:20 -07:00
diff_test.go logs: allow disabling log collection in jobspec (#16962) 2023-04-24 10:00:27 -04:00
encoding.go hashicorp/go-msgpack v2 (#16810) 2023-04-17 17:02:05 -04:00
errors.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
errors_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
eval.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
event.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
extensions.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
funcs.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
funcs_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
generate.sh hashicorp/go-msgpack v2 (#16810) 2023-04-17 17:02:05 -04:00
handlers.go hashicorp/go-msgpack v2 (#16810) 2023-04-17 17:02:05 -04:00
job.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
keyring.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
node.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
node_class.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
node_class_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
node_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
search.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
service_identities.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
service_registration.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
service_registration_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
services.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
services_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
streaming_rpc.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
structs.go logs: allow disabling log collection in jobspec (#16962) 2023-04-24 10:00:27 -04:00
structs_codegen.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
structs_oss.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
structs_periodic_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
structs_test.go rpc: use "+" concatination in hot path RPC rate limit metrics. (#16923) 2023-04-18 13:41:34 +01:00
testing.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
uuid.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
variables.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
variables_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
vault.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
volume_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
volumes.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
workload_id.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
workload_id_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00