简体   繁体   中英

Serve logs through web interface rails

I have a web application built with ruby on rails. It is served by Nginx through unicorn, the application is running on a Ubuntu server VPS. I have 4 log files:

  • nginx's access log
  • nginx's error log
  • rails' production log
  • unicorn's log

I have implemented a user login system and I want to be able to serve this log files to some user profiles.

How can I do this?

Please, try GrayLog . It's an open-source tool, collecting your system logs and building graphs on them, providing some filtration opportunities.

For a simple web log reading i would recommend Browserlog , very simple. However, currently it can read only rails log (according to environment)

Graylog is awesome tool but it require time to setup.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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