HorizenOfficial / zen_archived

TLS integration and more!
https://zensystem.io
Other
128 stars 44 forks source link

Check for popular logging utilities and use them, prevent log files from getting over 10mb #75

Closed WaveringAna closed 7 years ago

WaveringAna commented 7 years ago

Was talked about in #developers and seemed like a good idea

shensu commented 7 years ago

I reported this and I have a patch almost ready.

shensu commented 7 years ago

I don't think we should check for logging utilities like logrotate, that seems needlessly complicated. Simply having the option to check if the debug log has grown over 10MB every time we write is enough. Advanced users can disable this shrinking and use logrotate.