Welcome! Log In Create A New Profile

Advanced

Re: loggint through syslog

December 20, 2009 06:02PM
I'd still be +1 for a syslog module/patch to be official

If there's a way to fire off the message and forget about it so it
doesn't block, then I don't see a problem (I wouldn't recommend it for
access logging necessarily, but for error logging and such it would be
nice?)


On Sun, Dec 20, 2009 at 2:53 PM, Peter Leonov <gojpeg@gmail.com> wrote:
> On 20.12.2009, at 19:50, Vinay Y s <lists@ruby-forum.com> wrote:
>
>> Gabri Mate wrote:
>>>
>>> Hey There!
>>>
>>> Is there any chance to be able to log access through syslog? It would be
>>
>> I doubt if there is built-in support for logging to syslog directly. But
>> you can achieve something almost as good by simply tailing the logs to
>> the syslog logger command.
>>
>> try this:
>> tail -f access.log | logger -p local5.err -t nginx
>>
>> you can ensure this is always running by using something like
>> daemontools.
>>
>> Surely this will have worser performance than if it were implemented
>> natively within nginx.
>
> The recent descussion in the Russian list tells the opposite. Performance
> may become even better due to packet nature of the network: less packets on
> heavu loadef system.
>
> Do not be afraid to use such a configuration :)
>
> Best regards,
> Peter.
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>

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

loggint through syslog

Gabri Mate December 16, 2009 04:58PM

Re: loggint through syslog

merlin corey December 17, 2009 05:30PM

Re: loggint through syslog

Ryan Malayter December 17, 2009 07:46PM

Re: loggint through syslog

merlin corey December 17, 2009 08:04PM

Re: loggint through syslog

Ryan Malayter December 18, 2009 12:38AM

Re: loggint through syslog

merlin corey December 18, 2009 08:18PM

Re: loggint through syslog

Ryan Malayter December 19, 2009 10:08PM

Re: loggint through syslog

merlin corey December 21, 2009 08:24PM

Re: loggint through syslog

Vinay Y s December 20, 2009 11:54AM

Re: loggint through syslog

Peter Leonov December 20, 2009 05:58PM

Re: loggint through syslog

mike December 20, 2009 06:02PM

Re: loggint through syslog

Kingsley Foreman December 20, 2009 06:08PM

Re: loggint through syslog

mike December 20, 2009 06:14PM

Re: loggint through syslog

Ryan Malayter December 24, 2009 01:04AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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