159df8b2e4
See https://storjlabs.atlassian.net/browse/SM-752 These changes allow us to change the log level at runtime through a handler off of the debug endpoint. Examples of changing the log level on storj-sim To get the current level for the satellite api process: curl -XGET 'http://127.0.0.1:10009/logging' --header 'Content-Type: text/plain' To change the log level: curl -XPUT 'http://127.0.0.1:10009/logging' --header 'Content-Type: text/plain' --data-raw '{"level":"error"}' Change-Id: I05d164b290929fa06b6d78c01075ee41f8238044 |
||
---|---|---|
.. | ||
dir.go | ||
planet_test.go | ||
planet.go | ||
reconfigure.go | ||
referralmanager.go | ||
rpc_test.go | ||
run_test.go | ||
run.go | ||
satellite.go | ||
storagenode-wait.go | ||
storagenode.go | ||
tlsopts_test.go | ||
uplink_config.go | ||
uplink_test.go | ||
uplink.go | ||
versioning.go |