finish to log