Open Kexkey opened 1 year ago
Currently, log rotation can be done by using host's OS logrotate daemon (see https://github.com/SatoshiPortal/cyphernode/tree/master/contrib/etc/logrotate.d) but it requires CN operator to set it up.
It would be nice to have it managed by Cyphernode.
I think we could use proxycron's container to do this: mount the logs/ folder in there and configure logrotate with a generous default configuration.
Currently, log rotation can be done by using host's OS logrotate daemon (see https://github.com/SatoshiPortal/cyphernode/tree/master/contrib/etc/logrotate.d) but it requires CN operator to set it up.
It would be nice to have it managed by Cyphernode.
I think we could use proxycron's container to do this: mount the logs/ folder in there and configure logrotate with a generous default configuration.