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!