B
B
Bogdan2017-03-21 21:25:15
Ruby on Rails
Bogdan, 2017-03-21 21:25:15

View Rails log?

Tell me please. What are the best ways to view the production log remotely? Maybe there is a gem that will display the log through the web interface?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
OnYourLips, 2017-03-21
@OnYourLips

You use regular logging tools, and a separate program already sends these logs to the log server, where they are indexed, and you view them from the interface.
There are a lot of options, including SaaS.
For example, https://papertrailapp.com/ as a SaaS solution, or ELK stack as your own.

V
vsuhachev, 2017-03-22
@vsuhachev

You can just watch through ssh using the tail, grep, less commands, etc.
If you need to somehow process / analyze logs, then in nature there are servers for accumulating logs like rsyslog, logstash, fluent for which there are special applications for visualization.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question