Running the stable version of Storj 1.2.5 on SCALE 24.10.
I’m trying to set additional parameters to change the amount of logging produced, but nothing I do appears to work. The config.yaml file doesn’t have my additions and they’re not added to the command line invocation of storagenode.
With help from the Storj forum, here’s the solution in case anyone else searches for this:
You may convert the needed parameter to its variables equivalent by adding a prefix STORJ_, convert all other characters to uppercase, and replace all dots and dashes to the underscores. For example,
$ docker compose exec storagenode1 storagenode setup --help | grep badger
--pieces.file-stat-cache string optional type of file stat cache. Might be useful for slow disk and limited memory. Available options: badger (EXPERIMENTAL)
This option would have an equivalent STORJ_PIECES_FILE_STAT_CACHE as a variable.
So, you may add this variable with its value to the app config, it should be restarted automatically after that.