you could setup logrotate to run every 10 minutes.
If you reload apache (as opposed to restarting) I think it will
reconnect to the new logfile.
This may help:
https://httpd.apache.org/docs/trunk/programs/rotatelogs.html
Possibly its time to think of some other logging solution like logstash.
On 04/04/2016 06:43 PM, Stephen wrote:
Thank you for your idea.
But running logrotate on an "as needed" basis is just as much a
nuisance as restarting apache.
During a debugging session, I may want to clear the error.log file
every 10 minutes
--
Alvin Starr || voice: (905)513-7688
Netvel Inc. || Cell: (416)806-0133
[email protected] ||
---
Talk Mailing List
[email protected]
https://gtalug.org/mailman/listinfo/talk