1.6.2 selective dir logging in doc root

Maxim Dounin mdounin at mdounin.ru
Mon Oct 13 09:59:20 UTC 2014


On Mon, Oct 13, 2014 at 03:23:09PM +1100, shmick at riseup.net 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:


Maxim Dounin

More information about the nginx mailing list