make the log file by date,so I can move the yesterday's log