Log to database instead of log files

前端 未结 6 1447
别跟我提以往
别跟我提以往 2020-12-12 10:28

I\'m interested in sending all Rails application logging to a database (MySQL or MongoDB) either in addition to or instead of to a log file. There are a few reasons, most of

6条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-12 10:58

    I use the rails "exception logger", to log all problems to my database while my site is in production mode. It will give you a nice interface where you can check for problems. If you want to see what your visitors are doing in realtime then take a look at woopra

提交回复
热议问题