Support relative path in logFile