storj/private/testplanet
Ethan 159df8b2e4 Add logging listener for retrieving and setting log levels
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
2020-05-12 16:38:06 -04:00
..
dir.go private: rename internal to private (#3573) 2019-11-14 21:46:15 +02:00
planet_test.go bump storj.io/common to latest 2020-03-25 09:08:40 -04:00
planet.go private/testplanet: add StopNodeAndUpdate 2020-05-08 13:02:19 +00:00
reconfigure.go private/testplanet: use drpc referral manager server 2020-05-07 07:03:11 +00:00
referralmanager.go all: remove grpc 2020-05-10 06:36:09 +00:00
rpc_test.go private/testplanet: use drpc referral manager server 2020-05-07 07:03:11 +00:00
run_test.go common: separate repository 2019-12-27 14:11:15 +02:00
run.go private/dbutil/pgtest: support multiple databases for testing 2020-04-28 21:55:49 +03:00
satellite.go Add logging listener for retrieving and setting log levels 2020-05-12 16:38:06 -04:00
storagenode-wait.go storagenode/pieces: Deleter can handle multiple tests 2020-04-29 11:26:56 -06:00
storagenode.go Add logging listener for retrieving and setting log levels 2020-05-12 16:38:06 -04:00
tlsopts_test.go common: separate repository 2019-12-27 14:11:15 +02:00
uplink_config.go cmd/uplink: remove unused flag 2020-03-09 13:44:46 +00:00
uplink_test.go all: remove grpc 2020-05-10 06:36:09 +00:00
uplink.go private/testplanet: migrate testplanet to new libuplink 2020-04-20 12:43:34 +00:00
versioning.go storj: remove storj/private/version package which was moved to 2020-03-24 14:31:33 +00:00