write run time log info into log file