wildcard support for log file locations

Post Reply
marcele
Junior Member
Posts: 215
Joined: 17 Sep 2007, 17:02

wildcard support for log file locations

Post by marcele »

It would be great if CSF supported wildcards for LFD log file locations:

Eg. /var/www/vhosts/system/*/logs/error_log

Some platforms like Plesk have separate log file locations per virtual host. I know that fail2ban supports wildcard log file locations when creating jails.

I believe that Perl supports glob functions so it shouldn't be that hard to add:
http://perl.about.com/od/filesystem/qt/perlglob.htm
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: wildcard support for log file locations

Post by ForumAdmin »

We have added file globbing for *_LOG for the next version of csf when it is released.
marcele
Junior Member
Posts: 215
Joined: 17 Sep 2007, 17:02

Re: wildcard support for log file locations

Post by marcele »

Thanks a bunch chirpy!
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: wildcard support for log file locations

Post by ForumAdmin »

This is now available in v6.43:
http://blog.configserver.com
Post Reply