Alexey
April 14, 2024, 1:56pm
14
All options like
only affects how your logs are handled in the DOCKER, unless you redirected logs to the file . In the later case you will be forced to manage logs differently:
Hi phillipe,
This is easy to do with logrotate since you can use wildcards to define your paths and files. I placed a logrotate config file in /etc/logrotate.d/ called storagenode . It is a plain text file. My logrotate config file is as follows. Don’t include comments in your config file (there is an uncommented version below).
/mnt/logs-usb/storj*/storagenode*.log {
#the wildcard (*) characters tell logrotate to look in any subfolder that
#begins with storj, and rotate any log that starts wi…
2 Likes