Enable logs in a Shipping build

A Shipping build of an Unreal app writes no log: logging is compiled out, not switched off. Here is how to get it back, and the cheaper way most projects should take instead.

Turn logging on in Shipping

Set bUseLoggingInShipping = true; in your project's <Project>.Target.cs, then package Shipping again. A build that is already packaged cannot be changed.

Run on your own machine, a Shipping build writes its log under your user folder, not beside the build: %LOCALAPPDATA%\<Project>\Saved\Logs.

The cheaper way: package Development while you diagnose

ConfigurationUse it
Development While building and diagnosing. Slower, and it keeps the logging and tooling you need to find a fault.
Shipping For release. Fastest, smallest — and it strips out the logging, which is the trade.

While an app is still being diagnosed, package Development. Move to Shipping when you no longer expect to need the logs, not before.

Getting the log of a streamed app

Once the build writes a log, the app's configuration decides where it reaches you: live in the browser console, or by email when the app crashes in somebody else's session. See Developer options › Getting the logs.

Last updated