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

发布于 2024-09-07 07:56:33 字数 81 浏览 1 评论 0 原文

我目前在生产环境中有一个 RoR 应用程序,跨四个应用程序服务器,每个实例都有独立的日志。将日志记录聚合到公共位置而不诉诸系统日志的最佳方法是什么?

I currently have an RoR app in production across four application servers with independent logs per instance. What's the best way to aggregate the logging to a common location without resorting to syslog?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

迷爱 2024-09-14 07:56:33

我想知道 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文