better log for patch construction