Skip to content
Snippets Groups Projects
Commit 4c927e34 authored by mbellgardt's avatar mbellgardt
Browse files

Fix logging for 4.26

parent 0ea8c2fe
No related branches found
No related tags found
1 merge request!16Develop
......@@ -3,7 +3,6 @@
#include "HAL/PlatformFilemanager.h"
#include "Misc/Paths.h"
#include "HAL/IPlatformFileProfilerWrapper.h"
LogStreamImpl::LogStreamImpl(const FString Filepath, const FString Filename, const bool bPer_Session, const bool bLogOnMaster, const bool bLogOnSlaves)
: Filepath(Filepath)
......
......@@ -163,7 +163,7 @@ bool UniversalLoggingImpl::IsClusterMaster()
{
return true; // if we are not in cluster mode, we are always the master
}
return Manager->IsMaster();
return Manager->IsMaster() || !Manager->IsSlave();
}
FString UniversalLoggingImpl::GetNodeName()
......
......@@ -5,6 +5,7 @@ public class UniversalLogging : ModuleRules
{
public UniversalLogging(ReadOnlyTargetRules Target) : base(Target)
{
bLegacyPublicIncludePaths = false;
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment