storj/cmd/storagenode
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
..
dashboard.go storagenode/inspector: adjust Uptime type change in protobuf 2020-04-29 09:28:37 +00:00
dashboard.sh Merge alpha directory with main storagenode directory (#1817) 2019-04-23 17:51:04 +02:00
deprecated.go remove sugar logging 2020-04-15 12:37:47 +00:00
Dockerfile Remove VOLUME /root/.local/share/storj/storagenode (#3820) 2020-04-03 00:05:20 +02:00
entrypoint removes bandwidth limiting 2020-03-04 14:04:00 +00:00
gracefulexit.go remove sugar logging 2020-04-15 12:37:47 +00:00
main_test.go cmd/storagenode: enable migration of configs of different types (#3189) 2019-10-08 14:26:53 -04:00
main.go Add logging listener for retrieving and setting log levels 2020-05-12 16:38:06 -04:00
storagenode.yaml all: fix comments about grpc 2020-05-11 13:05:34 +03:00
windows.go remove sugar logging 2020-04-15 12:37:47 +00:00