enabled error logging