Welcome! Log In Create A New Profile

Advanced

logging to syslog

Posted by talios 
logging to syslog
August 31, 2017 01:21PM
Hello,

I'm trying to setup logging to syslog by following the instructions here;
https://www.nginx.com/resources/admin-guide/logging-and-monitoring/

The issue i'm hitting is that if i throw in say, this line
access_log syslog:server=our.syslog.server,facility=local7,tag=nginx,severity=warn;

It'll just log it to a log file named "our.syslog.server,facility=local7,tag=nginx,severity=warn" in /usr/share/nginx . Which will eventually grow and consume all the disk space on the server.
It does this whether I try to log to an external syslog server or the systems syslog. Can anyone point me to what i'm doing wrong?

Thanks!
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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