Welcome! Log In Create A New Profile

Advanced

Re: Syslog

Maxim Dounin
April 26, 2012 10:04AM
Hello!

On Thu, Apr 26, 2012 at 03:14:06PM +0200, Luke wrote:

> 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?

The main problem with syslog in general is that it's interface
blocks, and if syslogd daemon is dead/can't cope with load nginx
won't be able to work. Additionally, it's slow/resource
consuming. Writing normal files is much faster and more reliable.

Given the above, it's highly unlikely that syslog patches of any
quality will be accepted.

Maxim Dounin

_______________________________________________
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: 116
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