Nginx 1.7.1 adds syslog support
nginx.org
Nginx 1.7.1 adds syslog support
1–10 of 45 posts
Re: Nginx 1.7.1 adds syslog support
#2Here's also the error_log: http://nginx.org/en/docs/ngx_core_module.html#error_log
And the changelog: http://nginx.org/en/CHANGES
Re: Nginx 1.7.1 adds syslog support
#3They had to add a checkbox to http://nginx.com/products/feature-matrix/
Re: Nginx 1.7.1 adds syslog support
#4Why is logging to syslog as opposed to a separate file an important use case? Genuinely curious.
Re: Nginx 1.7.1 adds syslog support
#5Especially considering that it's been available as a community patch since 0.8 days.
Re: Nginx 1.7.1 adds syslog support
#6Why is logging to syslog as opposed to a separate file an important use case? Genuinely curious.
In short remote syslog-ing.
Re: Nginx 1.7.1 adds syslog support
#7Why is logging to syslog as opposed to a separate file an important use case? Genuinely curious.
It's useful if you want to log to a centralized logging server. This helps to have all your logs in one place and also keeps the logs safe, if someone breaks into your server.
Re: Nginx 1.7.1 adds syslog support
#8Why is logging to syslog as opposed to a separate file an important use case? Genuinely curious.
The simplest answer I could think of is getting remote syslogging for free. This also makes it easier to process nginx logs in realtime without named pipe trickery. I'm pretty excited to clean up some log ingestion code.
Re: Nginx 1.7.1 adds syslog support
#9Especially considering that it's been available as a community patch since 0.8 days. http://wiki.nginx.org/3rdPartyModules#Third_party_patches
True, it's been available, but having it in the core means that it will get into Linux distros, i.e. people don't have to compile.
Re: Nginx 1.7.1 adds syslog support
#10I hope they also add cache purge into the community version as well.