Added a fix for logentries error log detection