/Engine/Source/Runtime/Core/Public/Misc/Paths.h
Returns the directory the engine uses to output logs. This currently can't be an .ini setting as the game starts logging before it can read from .ini files.
log directory
static [FString](API\Runtime\Core\Containers\FString) ProjectLogDir()