代码之家  ›  专栏  ›  技术社区  ›  Nick

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

  •  3
  • Nick  · 技术社区  · 16 年前

    我目前有一个ror应用程序在四个应用服务器上生产,每个实例都有独立的日志。在不使用syslog的情况下,将日志聚合到公共位置的最佳方法是什么?

    1 回复  |  直到 16 年前
        1
  •  1
  •   Dima    16 年前

    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 .