All Questions
Tagged with log-rotation gzip
2 questions
1
vote
2
answers
2k
views
Rolling log file without losing any log event
I have a 8GB file called php.log with a running php script logging into it. It is important for me that I log every event, and I want to compress it and empty the current file without stopping the web ...
9
votes
5
answers
16k
views
How to gzip logs created by rotatelogs
I'm using rotatelogs to create my daily apache logs in format host.<day>.<month>.<year>.access.log. Now I want to gzip and move log to different directory after it's been finished. ...