Fix incorrect parameters for log::add() calls.