Welcome! Log In Create A New Profile

Advanced

access log to syslog

March 24, 2017 05:38AM
Добрый день. nginx1.11
Вот хочу access log писать на syslog сервер и оставлять локально.
Делаю так
access_log /var/log/nginx/access_conf.log main if=$confirm;
access_log syslog:server=192.168.201.12,facility=local7,tag=nginx,severity=info;

или так.
access_log /var/log/nginx/access_conf.log main if=$confirm;
access_log syslog:server=192.168.201.12,facility=local7,tag=nginx,severity=info main if=$confirm;

до сервака не долетает ничего.
Subject Author Posted

access log to syslog

IvanMiller March 24, 2017 05:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 151
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready