Welcome! Log In Create A New Profile

Advanced

Syslog

Luke
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"
etc...)


Thank you for any reply in advance,
Luke

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

Syslog

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: 70
Record Number of Users: 8 on December 15, 2016
Record Number of Guests: 386 on August 02, 2016
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready