1.6.2 selective dir logging in doc root

is it possible to enable selective dir logging from the document root ?

i don’t want to log access to a specific dir in doc root (and not sub
dirs also)

i do want to log errors to a specific dir in doc root (and sub dirs
also)

purpose:

disable dir logging for roundcube dir but still enable error logs

thx for help

Hello!

On Mon, Oct 13, 2014 at 03:23:09PM +1100, [email protected] wrote:

is it possible to enable selective dir logging from the document root ?

i don’t want to log access to a specific dir in doc root (and not sub
dirs also)

i do want to log errors to a specific dir in doc root (and sub dirs also)

purpose:

disable dir logging for roundcube dir but still enable error logs

You can use access_log and error_log directives on a per-location
basis. See here for details:

http://nginx.org/r/location
http://nginx.org/r/access_log
http://nginx.org/r/error_log


Maxim D.
http://nginx.org/