D David C Verified User Joined Mar 10, 2006 Messages 74 Apr 29, 2006 #1 I've just realised the logs in my Code: /var/log/httpd/domains/ directory, is all in today's date. I can't find records of eariler logs. My logs are probably not rotating! Please advice.
I've just realised the logs in my Code: /var/log/httpd/domains/ directory, is all in today's date. I can't find records of eariler logs. My logs are probably not rotating! Please advice.
sullise Verified User Joined Mar 4, 2004 Messages 475 Apr 29, 2006 #2 Is your directadmin_cron running?
nobaloney NoBaloney Internet Svcs - In Memoriam † Joined Jun 16, 2003 Messages 24,989 Location California May 4, 2006 #5 Logrotate is managed by a file that should be at /etc/cron.daily/logrotate so the first thing to do is see if that file exists, if it has the right ownership and permissions and if it has the right code. Jeff
Logrotate is managed by a file that should be at /etc/cron.daily/logrotate so the first thing to do is see if that file exists, if it has the right ownership and permissions and if it has the right code. Jeff
D David C Verified User Joined Mar 10, 2006 Messages 74 May 4, 2006 #6 The issue I have is that the logs of my clients are not kept longer than 1 day. in my Code: /var/log/httpd/domains directory, a client's logs consists only of Code: -rw-r--r-- 1 root root 4373 May 5 08:16 sgfrag.net.bytes -rw-r--r-- 1 root root 13064 May 5 08:07 sgfrag.net.error.log -rw-r--r-- 1 root root 219902 May 5 08:16 sgfrag.net.log There's only a log of the current day. Not the "5" logs to keep, that's specificied on DA's admin settings.
The issue I have is that the logs of my clients are not kept longer than 1 day. in my Code: /var/log/httpd/domains directory, a client's logs consists only of Code: -rw-r--r-- 1 root root 4373 May 5 08:16 sgfrag.net.bytes -rw-r--r-- 1 root root 13064 May 5 08:07 sgfrag.net.error.log -rw-r--r-- 1 root root 219902 May 5 08:16 sgfrag.net.log There's only a log of the current day. Not the "5" logs to keep, that's specificied on DA's admin settings.