added apache errorlog count check