update the path of log file
using currentDirectory to replace Unity dataPath