Welcome! Log In Create A New Profile

Advanced

syslog files per server entry

Ian Winter
November 27, 2014 11:12AM
Hi,

We use the following:

error_log syslog:server=127.0.0.1,facility=local4,tag=nginx warn;
access_log syslog:server=127.0.0.1,facility=local5,tag=nginx,severity=info main;

Just with the default combined format.

If however I want to have a separate access log for certain server blocks, how do I go about that as if I change access_log to say access_ian_log it errors.

Thanks in advance.
Ian

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

syslog files per server entry

Ian Winter November 27, 2014 11:12AM

Re: syslog files per server entry

Francis Daly November 27, 2014 06:10PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 244
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