If youโ€™re using logs for debugging check this out:

http://blog.libinpan.com/2009/07/less-is-better-than-tail/