Welcome! Log In Create A New Profile



April 26, 2012 09:16AM
Hi all, I'm new here.

Since I need my nginx to be integrated with syslog, I looked at the unofficial
patches (udpremote and syslog patch).

I saw I can have syslog logging with these, but I can not set a custom program
identifier per vhost, so that I can easily distinguish in the syslog daemon and
make it save the right log in the right file, making syslog manage
location(remote/local) and rotation of the logs.

Since the patches do not permit that, I think I'm going to write yet another
syslog module/patch.

So I have a couple of questions:
- why weren't the patches/modules merged into the main ngix project? Any
criticism on those patches so that I don't make the same mistakes?

- Do you think it's better to support syslog in the access_log/error_log
directives, just like the patch, or to have a different error_syslog /
access_syslog directives?

- Do you have any preference in the format of the directive? (ex:
"access_syslog host:local6:notice" instead of "syslog_access host local6 notice"

Thank you for any reply in advance,

nginx mailing list
Subject Author Posted


Luke April 26, 2012 09:16AM

Re: Syslog

Valentin V. Bartenev April 26, 2012 09:24AM

Re: Syslog

root@codepedia.eu April 26, 2012 09:52AM

Re: Syslog

Maxim Dounin April 26, 2012 10:04AM

Re: Syslog

Luke April 26, 2012 10:34AM

Re: Syslog

dlang July 15, 2012 05:57PM

Re: Syslog

姚伟斌 July 16, 2012 01:46AM

Re: Syslog

splitice July 28, 2012 09:36PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 99
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready