add date format in logger