set limit for logs