Set up Errbit for error logging