Adding limit to logs