logrotate.conf and wildcards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I use syslog-ng on a centralized syslog server (RHEL4).  All my hosts
get directories created under /var/log/hosts/servername.  So for
example

/var/log/hosts/server1
          messages
          mail.log
          debug

/var/log/hosts/server2
          messages
          debug

Of course as servers get added, new directories are dynamically
created.  My question is, can I use wildcards in my logrotate.conf
file, to specify directories and files?

"/var/log/*/*" to rotate all files or at least "/var/log/*/messages"

Thanks
Shane

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux