Removed error loging functions