Dedicated server launches but the log is completely blank

When I launch my dedicated server, it doesn’t list anything in the log at all. I can still join it via “Open Level: 127.0.0.1” with blueprints but it’s very odd and I would imagine that further down in development it could make debugging difficult. Any idea why this is happening?

1 Like

You need to add

bUseLoggingInShipping = true; 

in your ServerTargetRules

public class YourProjectNameServerTarget : TargetRules
{
    public YourProjectNameServerTarget(TargetInfo Target)
    {
        Type = TargetType.Server;
        bUsesSlate = false;
      	bUseLoggingInShipping = true; // If you want logging in shipping build
    }


    //
    // TargetRules interface.
    //
2 Likes