The resolveLogFilePath use module path

The resolveLogFilePath use module path rather than the variable path.