Log error on occurence (currently clobbers the log