error logging, mc