[GTALUG] File Permission Nusance

Alvin Starr alvin at netvel.net
Mon Apr 4 20:23:24 UTC 2016


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
alvin at netvel.net              ||



More information about the talk mailing list