LoginSignup
4
8

More than 5 years have passed since last update.

ログファイルをリアルタイムで表示させるtailコマンド

Posted at

やりたいこと

タイトルの通り

解決策

$ tail -f ファイルパス

-f: リアルタイムで中身を表示するオプション

エラーログだけをリアルタイムで表示したい時

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

上記はfuelPHPで実装している場合ですので、各フレームワークでgrepする内容は選んでください

4
8
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
4
8