Change logging locations and error messages.