storj/satellite
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
..
accounting satellite/accounting: separate usage and bandwidth limit (#3878) 2020-05-12 15:01:15 +02:00
admin satellite/admin: add API endpoint for adding projects 2020-05-12 14:55:41 +00:00
attribution all: remove old uuid 2020-04-02 19:30:36 +03:00
audit private/testplanet: add StopNodeAndUpdate 2020-05-08 13:02:19 +00:00
compensation satellite/compensation: add offline status tracking 2020-04-28 19:35:59 +00:00
console satellite/accounting: separate usage and bandwidth limit (#3878) 2020-05-12 15:01:15 +02:00
contact satellite/contact: add timeout to PingBack method 2020-04-04 18:26:30 +00:00
dbcleanup satellite: remove some unnecessary UTC() calls 2020-03-13 13:49:44 +00:00
downtime satellite/downtime: add concurrency to downtime estimation 2020-04-14 14:39:13 +00:00
gc all: fix comments about grpc 2020-05-11 13:05:34 +03:00
gracefulexit all: fix comments about grpc 2020-05-11 13:05:34 +03:00
heldamount storagenode/heldamount payments removed 2020-04-21 17:15:31 +00:00
inspector all: simplify uuid usage 2020-04-02 13:45:19 +00:00
mailservice all: use monkit v3 2020-02-05 23:53:17 +00:00
marketingweb all: separate err check for http 2020-04-16 18:50:24 +03:00
metainfo satellite/overlay: add feature flag for node selection cache 2020-05-06 16:13:47 +03:00
metrics all: don't depend on gogo/proto directly 2020-04-08 17:32:15 +00:00
nodestats storagenode/reputation: unknown_audit_reputation_alpha and beta added to db, and reputation endpoint 2020-05-05 15:48:04 +00:00
orders all: remove drpc wrappers 2020-05-11 08:20:34 +03:00
overlay all: fix comments about grpc 2020-05-11 13:05:34 +03:00
payments satellite: Change Default Project Limits and minimum STORJ Payment (#3877) 2020-05-12 14:18:58 +03:00
referrals private/testplanet: use drpc referral manager server 2020-05-07 07:03:11 +00:00
repair all: fix comments about grpc 2020-05-11 13:05:34 +03:00
rewards all: simplify uuid usage 2020-04-02 13:45:19 +00:00
satellitedb satellite/satellitedb: simplify migrate step 2020-05-12 18:27:07 +03:00
vouchers bump storj.io/common to latest 2020-03-25 09:08:40 -04:00
admin.go Add logging listener for retrieving and setting log levels 2020-05-12 16:38:06 -04:00
api.go Add logging listener for retrieving and setting log levels 2020-05-12 16:38:06 -04:00
core.go Add logging listener for retrieving and setting log levels 2020-05-12 16:38:06 -04:00
gc.go Add logging listener for retrieving and setting log levels 2020-05-12 16:38:06 -04:00
peer.go all: rename CreateTables to MigrateToLatest 2020-04-30 07:21:17 +00:00
repairer.go Add logging listener for retrieving and setting log levels 2020-05-12 16:38:06 -04:00