Log rotation

RaZer0r

Verified User
Joined
Sep 14, 2007
Messages
62
Hi,

In my directadmin.conf I have the following concerning logs:

cat /usr/local/directadmin/conf/directadmin.conf | grep log
Code:
apachelogdir=/var/log/httpd/domains
brute_force_log_scanner=1
clear_brute_log_entry_time=4
clear_brute_log_time=24
log_rotate_size=5
logdir=/var/log/directadmin
logger=/usr/local/directadmin/logger
loghostname=0
login_history=10
logs_to_keep=5

But the apache access logs are still only one day old, it does not seem to keep it for 5 days as I would expect with "logs_to_keep=5".

So, where can I find the /var/log/httpd/domains/domain.tld.log.1?
 
super! thank you, it seems i'll have a long way to backlog some kind of exploit entering one of my customers... one file being fetched by another file etc etc... this is going to be a long day :p. luckily my backup scheme is providing me with all the logs :D (I was afraid of being totally in the dark on this one :()
 
Back
Top