[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: spooky script
> the spooky thing is that although the script was made to archive my
> logfiles, my apache webserver decided to log new events in the file i moved
> the log to. httpd.conf has not been edited.
>
> Does anyone have an explanation for this? is it maybe that mv is not
> simmilar to cp - rm. should i try cp?
You need to restart apache.
Sam
> #!/bin/sh
> #
> # Script for managing APACHE access and error logs
> # both logs will be kept in the same hierarchy:
> # ~YEAR/year-month-day.a
> # ~YEAR/year-month-day.e
> # Intended to be invoked by Cron monthly. More often is no problem.
> # You might want to consider adding an extra hierarchy level.
> #
>
--
Defeat: For every winner, there are dozens of losers. Odds are you're
one of them