Project

General

Profile

Actions

Feature #10581

open

Provide ability to disable nginx access logging to remote syslog server

Added by Russell Morris over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Logging
Target version:
-
Start date:
05/20/2020
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:

Description

Hi,

It would be helpful to be able to disable nginx access logging, to a remote syslog server - reduce the bandwidth used for all the messages sent. Make this a GUI option I assume, and then set the syslog configuration accordingly?

Thanks!

Actions #1

Updated by Jim Pingle over 4 years ago

  • Category set to Logging
Actions #2

Updated by Russell Morris over 4 years ago

FYI, a snippet from the start of my /var/etc/syslog.d/pfSense.conf file (remote-hostname replaced for security). Not sure all those *.* lines should be there, over and over ... should they?

# Automatically generated, do not edit!
!*
auth.*;authpriv.*                                               /var/log/auth.log
*.*                                                             @remote-hostname
!radvd,routed,zebra,ospfd,ospf6d,bgpd,miniupnpd,igmpproxy
*.*                                                             /var/log/routing.log
*.*                                                             @remote-hostname
!ntp,ntpd,ntpdate
*.*                                                             /var/log/ntpd.log
*.*                                                             @remote-hostname
!ppp
*.*                                                             /var/log/ppp.log
*.*                                                             @remote-hostname

Thanks!

Actions #3

Updated by Russell Morris over 4 years ago

And to try to help, make this easier if possible. Some info here,
https://forum.netgate.com/topic/153755/disable-nginx-access-log-to-remote-syslog-server/3

This does seem to work, the key thing is if the access log is disabled, just set,

access_log off;

Thanks!

Actions

Also available in: Atom PDF