[GTALUG] Sudo in Script

Stephen stephen-d at rogers.com
Sun Sep 15 12:22:40 EDT 2019


On 2019-09-15 12:14 p.m., Kevin Cozens via talk wrote:
> On 2019-09-15 12:01 p.m., Stephen via talk wrote:
>> When debugging I like to clear the Apache error file and save as null.
>>
>> To continue error logging I have to restart Apache.
>>
>> 1) Not a big deal, but is there an easier way?
> 
> Yes, there is. You can move the files to a different name to indicate 
> they are older log files then send a signal to Apache to tell it to 
> start using new log files.
> 
> You can find the details about it at:
>  ?? https://www.thegeekstuff.com/2011/07/rotate-apache-logs/
> 
I always learn when I ask for help in this group!

Thank you!

-- 
Stephen


More information about the talk mailing list