Fix the log action once and for all.