storj/cmd/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
..
reports remove sugar logging 2020-04-15 12:37:47 +00: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
compensation.go satellite/compensation: add offline status tracking 2020-04-28 19:35:59 +00:00
Dockerfile Add inspector to satellite image (#3801) 2020-03-16 09:05:59 -04:00
entrypoint cmd/satellite: Enable admin service like other services, also sort environment variables (#3874) 2020-05-08 07:38:21 -04:00
gc.go Add logging listener for retrieving and setting log levels 2020-05-12 16:38:06 -04:00
gracefulexit.go all: don't depend on gogo/proto directly 2020-04-08 17:32:15 +00:00
main.go Add logging listener for retrieving and setting log levels 2020-05-12 16:38:06 -04:00
output.go satellite: compensation package and commands 2020-03-30 14:08:14 -06:00
README.md hc to satellite rename (#282) 2018-08-29 14:32:41 -04:00
repairer.go Add logging listener for retrieving and setting log levels 2020-05-12 16:38:06 -04:00
satellite.yaml all: fix comments about grpc 2020-05-11 13:05:34 +03:00
stripe.go all: simplify uuid usage 2020-04-02 05:48:58 +00:00
usage.go satellite: add an expiring lru cache around api keys 2020-01-09 22:13:41 -07:00

Satellite

Documentation for developing and building the satellite service

Usage:

First make an identity:

go install storj.io/storj/cmd/satellite
satellite setup

You can edit ~/.storj/satellite/config.yaml to your liking. Then run it!

satellite run