the_spy
29th June 2007, 14:53
System: ispconfig 2.2.14, debian etch, apache2 ..
I see that only the last 2 days are in this folder:
server:/var/log/httpd# ls -l
total 13240
lrwxrwxrwx 1 root root 46 2007-06-29 00:00 ispconfig_access_log -> /var/log/httpd/ispconfig_access_log_2007_06_29
-rw-r--r-- 1 root root 9013948 2007-06-28 23:59 ispconfig_access_log_2007_06_28
-rw-r--r-- 1 root root 4510562 2007-06-29 13:46 ispconfig_access_log_2007_06_29
Is there a way to keep for example the last 30 or 60 days, and maybe automatically compressed in .gz ? there is a law in my country, normally I should keep logs for the last 6 months. 1 or 2 months will be enough, but 2 days not.
Thanks :)
I see that only the last 2 days are in this folder:
server:/var/log/httpd# ls -l
total 13240
lrwxrwxrwx 1 root root 46 2007-06-29 00:00 ispconfig_access_log -> /var/log/httpd/ispconfig_access_log_2007_06_29
-rw-r--r-- 1 root root 9013948 2007-06-28 23:59 ispconfig_access_log_2007_06_28
-rw-r--r-- 1 root root 4510562 2007-06-29 13:46 ispconfig_access_log_2007_06_29
Is there a way to keep for example the last 30 or 60 days, and maybe automatically compressed in .gz ? there is a law in my country, normally I should keep logs for the last 6 months. 1 or 2 months will be enough, but 2 days not.
Thanks :)