# New logging modules

**URL:** <https://www.ruby-forum.com/t/new-logging-modules/222113>\
**Category:** NGINX\
**Created:** [August 13, 2012, 9:28am UTC](https://www.ruby-forum.com/t/new-logging-modules/222113 "2012-08-13T09:28:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [August 13, 2012, 9:28am UTC](https://www.ruby-forum.com/t/new-logging-modules/222113/1 "2012-08-13T09:28:01Z")

</div>

Hi!

I created 2 new cool logging modules.

The fitst one, nginx socketlog module, is a connection-oriented  
alternative of udplog module that uses BSD syslog remote logging  
protocol. It can be used with ng-syslogd to centralize logging. You can  
get it here:

[http://www.binpress.com/app/nginx-socketlog-module/1030?ad=461](http://www.binpress.com/app/nginx-socketlog-module/1030?ad=461)

The second one, nginx redislog module, is a redis logging client for  
nginx. It maintains one connection per peer per worker to a redis  
databse and logs everything that you say directly to that database.  
Destination key is of course dynamic: you can have one key per server or  
with the help of special variable even per server per day! You can use  
standard nginx variables in key names. This opens truly amazing  
opportunities. No need to rotate logs anymore! Come and look at what  
this module is capable of:

[http://www.binpress.com/app/nginx-redislog-module/998?ad=461](http://www.binpress.com/app/nginx-redislog-module/998?ad=461)

Here in my blog I expand a little bit on internals guts of these  
modules:

[http://www.nginxguts.com/2012/08/better-logging-for-nginx/](http://www.nginxguts.com/2012/08/better-logging-for-nginx/)

–  
Best regards,  
Valery K.
