多服务器 Ruby on Rails 生产日志记录
我目前在生产环境中有一个 RoR 应用程序,跨四个应用程序服务器,每个实例都有独立的日志。将日志记录聚合到公共位置而不诉诸系统日志的最佳方法是什么?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
我目前在生产环境中有一个 RoR 应用程序,跨四个应用程序服务器,每个实例都有独立的日志。将日志记录聚合到公共位置而不诉诸系统日志的最佳方法是什么?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
我想知道 ruby 是否有 log4xxx 的味道..可能真的很酷。如果有,那么也许您可以将来自不同实例的流集中到一个地方,对于简单的实现来说,它不应该太复杂......,或者也许使用工具 像这样。
I wonder if there is a flavor of log4xxx for ruby.. Could be real cool. 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.