PDA

View Full Version : where is the backup "mydomain.log" stored?



vod
11-30-2005, 01:59 AM
Hi All,

I am using Da 1.255 with enhanced skin.

1. When will the file /var/log/httpd/domains/mydomain.log get rotated?
2. How do i check whether it is getting rotated properly?
3. I have set DA to Keep Number of Apache Log Backups to 5. Where can i find all previous rotated log and What is the likely filename ? I could not find it anywhere.

Thanks a lot guys.

Regards,
Nigel

vod
11-30-2005, 02:20 AM
Hi all,

after digging deep into the each of the threads that contains logrotate, apache log, httpd log, etc, i found my answers.javascript:smilie(':o') for those who are also looking for the same thing, here you are:


1. When will the file /var/log/httpd/domains/mydomain.log get rotated?
Every mid-nite


2. How do i check whether it is getting rotated properly?
You can pico /var/log/httpd/domains/yourdomain.log and verify that it only contains today's date entries


3. I have set DA to Keep Number of Apache Log Backups to 5. Where can i find all previous rotated log and What is the likely filename ? I could not find it anywhere.
Backup can be found at /home/admin/domains/mydomain.com/logs

Hope this can useful.

Thanks
Nigel