|
|||||||||
![]() |
|||||||||
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] symlink to previous log
Hi, I'm trying out cronolog, but can't seem to get symlink to the previous logfile to work. It keeps pointing to the current logfile. According to the manual, you need to define the symlink to the current logfile too, as that one is used to make the symlink to the previous log (if I understood well) Here is a snippet from our apache config file. We opted for the /YEAR/month/day directory structure. As this makes it easy to do monthly zips of the old logfiles. The logfile should be rotated every day (this works OK, as is the symlink to the current logfile). Is this line correct? If it is, any hints on why the prev. symlink points to the current logfile? CustomLog "| /usr/local/sbin/cronolog -p 1days \ -S /usr/local/apache/logs/eccent_curr_log \ -P /usr/local/apache/logs/eccent_prev_log \ /usr/local/apache/logs/%Y/%m/%d/eccent_access_log" common Thanks in advance, Sincerely, Filip
|