fixbug: write log to new file when date change

N/A

Signed-off-by:  <>