Added exception for logs which are way too long