[ start | index | login ]

2007-12-15 #1

Created by john. Last edited by john, 257 days ago. Viewed 243 times. #2
[diff] [history] [edit] [rdf]
labels
attachments
This blog has some good tips about parsing rails logs with sed/awk.

>>http://www.caboo.se/articles/2007/7/2/sed-awk-for-rails-devs

I'll do something like

tail -1000 production.log | grep ^Completed | awk ' {print "[" $3 "] - " $0 }' | sort -n | tail

Just to see some recent requests.

请以发表评论身份登录
Powered by snipsnap.org Found a mistake in a howto? Let us know via an email to p.blikibugs at rimuhosting com.