Welcome! Log In Create A New Profile

Advanced

Re: log blacklisted domains to a separate log file

vigith maurice
November 18, 2014 02:20PM
I don't think map and log will help me solve it, I need to log to a
separate file if condition is matched.

Writing two sections with one pointing to default log (with map condition
saying, no match to blacklist domains in the file) and other to
blacklist_log file with the opposite condition might solve the problem but
won't it affect the performance? won't 2 pattern affect the performance?

Also 1.70 doesn't seem to be stable yet.


On Tue, Nov 18, 2014 at 11:01 AM, vigith maurice <vigith@gmail.com> wrote:

> Thank you. I will take a look into map with include_file option.
>



--
regards,
vigith maurice
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

log blacklisted domains to a separate log file

vigith maurice November 18, 2014 01:42PM

Re: log blacklisted domains to a separate log file

itpp2012 November 18, 2014 01:49PM

Re: log blacklisted domains to a separate log file

vigith maurice November 18, 2014 02:02PM

Re: log blacklisted domains to a separate log file

vigith maurice November 18, 2014 02:20PM

Re: log blacklisted domains to a separate log file

itpp2012 November 18, 2014 02:28PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 212
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready