Added log errors