Write set values to log file