Refactored catlog to be more like tail -n (OMS-175)