Created
March 5, 2012 05:40
-
-
Save nog/1976905 to your computer and use it in GitHub Desktop.
Rails3のログがAssetPipelineで著しく見難かったので試行錯誤した上の最終解をメモしておく。空行0も見難いんだけど最後の"-A 1"でリクエスト毎のセパレータ出せて見易くなった。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#with rails server | |
echo "STDOUT.sync = true" >> config/environments/development.rb | |
rails s | grep --line-buffered -vE '(Started GET "/assets/|Served asset|^$)' -A 1 | |
#with tail -f | |
tail -f log/development.log | grep --line-buffered -vE '(Started GET "/assets/|Served asset|^$)' -A 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rails serverの場合Rubyの標準出力バッファ無くす設定入れなきゃいけないの忘れてた。