How can I get the file name of log file?

FPlatformOutputDevices::GetAbsoluteLogFilename() does’t work. it always returns MyGame.log only.