How to change the log level?

Simple question,

How can we modify the loglevel of a node?

I’ve been searching the docs with little luck, but I’m sure that there is a parameter to modify the log level being printed. Any ideas?

1 Like

Thanks!

I managed to find the solution also for docker-compose. It’s quite simple:

version: ‘3’
services:
storagenode:
image: storjlabs/storagenode:beta
restart: unless-stopped
ports:
- 28967:28967
volumes:
- ./config/identity:/app/identity
- ./data:/app/config
environment:
- WALLET=0x123456789
- EMAIL=EMAIL
- ADDRESS=external.url:28967
- BANDWIDTH=10TB
- STORAGE=1TB
- STORJ_LOG_LEVEL=info

BANDWIDTH is deprecated and not used. I’m not sure that STORJ_LOG_LEVEL even work.

1 Like

I can confirm STORJ_LOG_LEVEL is working

Good to know that about BANDWIDTH, I pasted an old docker-compose from someone else’s blog!

1 Like