I did find that info on google as well, but, that other info regarding globbing was extremely helpful thanks ;). -----Original Message----- From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On Behalf Of Frank.Brodbeck@xxxxxxxxxx Sent: Thursday, September 24, 2009 3:33 AM To: CentOS mailing list Subject: Antwort: logrotate and regular expressions Hi, "Sol Fulop" <sfulop@xxxxxxxxxxx> schrieb am 23.09.2009 17:33:32: > I am trying to use logrotate to rotate our web logs for our various > vhosted sites to cut down on space and rotate out old logs that are > not necessary to keep around personally. What Im curious to find > out, is how supported extended regular expressions is within the > logrotate.conf file. Ok... logrotate(8) is unpleasantly unspecific about that, though from googling [1], and reading glob(3) I believe that globbing is available through (g)libc which logrotate is linked to: # ldd /usr/sbin/logrotate libpopt.so.0 => /usr/lib64/libpopt.so.0 (0x0000003c8c000000) libselinux.so.1 => /lib64/libselinux.so.1 (0x0000003c88000000) libc.so.6 => /lib64/libc.so.6 (0x0000003c86800000) libdl.so.2 => /lib64/libdl.so.2 (0x0000003c87000000) libsepol.so.1 => /lib64/libsepol.so.1 (0x0000003c87c00000) /lib64/ld-linux-x86-64.so.2 (0x0000003c86400000) So I guess you can use glob(7) (as stated in [1]). Frank. [1] http://www.mail-archive.com/kplug-list@xxxxxxxxxxxxxxxx/msg10293.html _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos