简体   繁体   English

多服务器Ruby on Rails生产日志记录

[英]Multi-server Ruby on Rails Production Logging

I currently have an RoR app in production across four application servers with independent logs per instance. 我目前在四个应用服务器上都有一个RoR应用程序,每个实例都有独立的日志。 What's the best way to aggregate the logging to a common location without resorting to syslog? 在不诉诸syslog的情况下,将日志记录聚合到公共位置的最佳方法是什么?

I wonder if there is a flavor of log4xxx for ruby.. Could be real cool. 我想知道是否有一种用于红宝石的log4xxx的味道..真的很酷。 If there is, then perhaps you could centralize the streams from different instances into one place, it shouldn't be too complicated for simple implementation.., or perhaps use a tool like this . 如果有,那么也许你可以从集中不同实例流到一个地方,它不应该是简单的实现过于复杂..,或者使用工具这样

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM