LoginSignup
1
0

More than 3 years have passed since last update.

本番環境のエラーログを確認する(cloud9)

Posted at

忘備録!!!!

linuxにログインしてログを確認。

nginxのエラーログを確認する

linux
$ sudo tail -f /var/log/nginx/error.log

Railsのエラーログを確認する。

linux
$ sudo tail -f log/production.log

エラーログのみ出力

linux
$ tail -f ファイルパス | grep ERROR

Heroku

cloud9のコンソール
$ heroku login -i
$ heroku logs
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0