[GTALUG] Sudo in Script
Kevin Cozens
kevin at ve3syb.ca
Sun Sep 15 12:14:37 EDT 2019
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/
--
Cheers!
Kevin.
http://www.ve3syb.ca/ | "Nerds make the shiny things that
https://www.patreon.com/KevinCozens | distract the mouth-breathers, and
| that's why we're powerful"
Owner of Elecraft K2 #2172 |
#include <disclaimer/favourite> | --Chris Hardwick
More information about the talk
mailing list