fp/m/logs: Rewrote log_write_daily & log_write_Summary