carbon-relay-ng
carbon-relay-ng copied to clipboard
Log rotation
Hi
How to clear/rotate the logs. If I empty or truncate the logs then the logs file is back to its original size after the next write. Is it possible to implement so SIGHUP signal to re-open the logfile, so logrotation can take place.
Regards
Theo
We use github.com/op/go-logging, not sure yet how to support log rotation the cleanest way, but you're right we should.