Take quaff 0.5.1 and integrate msg_log to an error file