You can enable the console in a Shipping build

in UEBuildTarget.cs SetupGlobalEnvironment, add this line:

GlobalCompileEnvironment.Definitions.Add("ALLOW_CONSOLE_IN_SHIPPING=1");

Thanks mcoms.