any ideas to reduce log file size or make log file size managed?
Hello everyone,
I found the log file size is becoming larger and larger. Any ideas to reduce the file size or make log file size managed, for example, keep the log file be fixed size or some other policies? Any reference tutorials or open source samples to recommend? thanks in advance, George |
man logrotate
|
Thank you chrism01,
Quote:
Logrotate is a good tool, but I would rather write a library by myself to be flexible and customized to my specific application. And, if possible, I would like to port it to Windows. Logrotate does not provide very much design documents. Right? regards, George |
All times are GMT -5. The time now is 05:31 AM. |