Page 1 of 1

wildcard support for log file locations

Posted: 03 Feb 2014, 10:53
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

Re: wildcard support for log file locations

Posted: 04 Feb 2014, 16:13
by ForumAdmin
We have added file globbing for *_LOG for the next version of csf when it is released.

Re: wildcard support for log file locations

Posted: 05 Feb 2014, 19:49
by marcele
Thanks a bunch chirpy!

Re: wildcard support for log file locations

Posted: 06 Feb 2014, 12:10
by ForumAdmin
This is now available in v6.43:
http://blog.configserver.com