fixed error reporter and changed logging formatter