How to switch log levels

We use this package, these are the levels:

I prefer to set these arguments on the command-line rather than the config file:

docker run -it storjlabs/storagenode:latest --log.level=error

To see all available storagenode arguments you can run:

docker run -it storjlabs/storagenode:latest --help

But I agree some of them need better documentation. PR welcome for here private/logging.go at 79135887c9bef0154d32fd1a26c5f0a25905acfa · storj/private · GitHub

4 Likes