fix #4218 log are labelled with time stamp rather then its directory