error logging development