Keep Number of Apache Log Backups not working

simpel

Verified User
Joined
Jun 6, 2019
Messages
16
Normal log rotation creates access_log.1 .2 .3 etc..

DA seems to this differently by stuffing an X number of days in into the 'domains' logs.

however, i have the default "Keep Number of Apache Log Backups 5" option set but only have one days worth of logs (so only entries from today) are being recorded.

Could this be a bug or do i need to also set some other option to get logfiles with entries from the past 5 days?
 

simpel

Verified User
Joined
Jun 6, 2019
Messages
16
Nobody got any idea why "Keep Number of Apache Log Backups 5" only gives my the log of today and not the other 4 previous days?
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,774
Location
LT, EU
Please let us know the output of:
ls /home/username/domains/domain.com/logs
 

simpel

Verified User
Joined
Jun 6, 2019
Messages
16
OooOohhh.. thats where they are...

i always checked them in /var/log/httpd/domains/domain.com*.log

sorry my bad.
 
Top