[syslog-ng] rotate logs in recursive directories
Reaky Rok
reakyrok at hotmail.com
Mon Jun 1 10:14:13 CEST 2009
Hi friends
I have a problem with syslog-ng in my server, I setup it successfuly in RHEL5 and It waorking without any problems, I make it a central log server for all servers in my company, The problem is that I orgnized it for each server bu date and facility like that $HOST/$YEAR.$MONTH.$DAY/$FACILITY.log which makes a lot of recursive directory for each server, Now I'm facing a problem to rotate it as I don't know how to make the logrotate rotate all this files in the recursive directories, Could you help me please,
This is my /etc/logrotate.d/syslog-ng
/var/log/syslog-ng {
daily
rotate 30
compress
missingok
notifempty
create 0600 root root
}
Thanks & Best Regards
Bassam Muhammad
_________________________________________________________________
Windows Live™: Keep your life in sync. Check it out!
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20090601/98cd113d/attachment-0001.htm
More information about the syslog-ng
mailing list