djveremix / redis

Automatically exported from code.google.com/p/redis
0 stars 0 forks source link

[Feature Request] Redis logging to syslog #223

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Ideally redis would have the ability to log to a syslog server rather than
a flat file. Running multiple instances of redis makes logging harder
without syslog.

Original issue reported on code.google.com by ber...@gmail.com on 5 Apr 2010 at 7:49

GoogleCodeExporter commented 9 years ago
+1 - but also wondering if there isn't already a way to do this, e.g. log to 
/dev/log= or pipe to logger - see e.g. 
http://www.softpanorama.org/Logs/Syslog/pipes_in_syslog.shtml

Original comment by dr.marc....@gmail.com on 5 Apr 2010 at 7:56

GoogleCodeExporter commented 9 years ago
+1 - Isn't the configuration in syslog dealing with named pipes related to 
having syslog write data to a named 
pipe as opposed to reading data from a named pipe into syslog? Is there a way 
to use a named pipe to get data 
to syslog? 

Original comment by dgiac...@gmail.com on 5 Apr 2010 at 11:03

GoogleCodeExporter commented 9 years ago
I've made a patch that does this. I've attached it, and it's also in my github 
tree:

http://github.com/yosh/redis/

Original comment by realy...@gmail.com on 4 Jun 2010 at 9:06

Attachments:

GoogleCodeExporter commented 9 years ago
Via github, I've submitted a patch/pull request that enables Redis to support 
syslog as well as multi-destination logging.

https://github.com/antirez/redis/pull/30

Original comment by jonah.ha...@gmail.com on 9 Dec 2010 at 3:49

GoogleCodeExporter commented 9 years ago
Updated per discussion.

https://github.com/antirez/redis/pull/31

Original comment by jonah.ha...@gmail.com on 9 Dec 2010 at 4:19

GoogleCodeExporter commented 9 years ago
Thanks for working on this.  Our sysadmins are big fans of centralized 
syslogging.

Original comment by jzaw...@gmail.com on 9 Dec 2010 at 4:41