Add datetime at the beginning of log file