Logrotate assistance

My My sometime my stupidity even amazes me Logrotate assistance

Anyways heres my problem

Redhat/Apache

https logs are stored in /var/log/httpd in the format domain.dom.access_log

Problem: Logs are not rotating using logrotate:

Heres my logrotate.conf

# see "man logrotate" for details
# rotate log files weekly
weekly

# keep 4 weeks worth of backlogs
rotate 2

# send errors to root
errors root

# create new (empty) log files after rotating old ones
postrotate

# uncomment this if you want your log files compressed
compress

# RPM packages drop log rotation information into this directory
include /etc/logrotate.d

# no packages own lastlog or wtmp -- we'll rotate them here
/var/log/wtmp {
monthly
create 0664 root utmp
rotate 1
}

/var/log/lastlog {
monthly
rotate 1
}

# system-specific logs may be configured here
and heres my httpd logrotate config from /etc/logrotate.d/httpd

compress

/var/log/httpd/error_log {
postrotate
/usr/bin/killall -HUP httpd
endscript
}

/var/log/httpd/access_log {
postrotate
/usr/bin/killall -HUP httpd
endscript
}

/var/log/httpd/transfer_log {
postrotate
/usr/bin/killall -HUP httpd
endscript
}

/var/log/httpd/*.error_log {
postrotate
/usr/bin/killall -HUP httpd
endscript
}

/var/log/httpd/*.access_log {
postrotate
/usr/bin/killall -HUP httpd
endscript
}
Why is this not working anymore? Any ideas guys?

Sincere thanks in advance

 

 

 

 

Top