To ensure logs are available in the shipping configurations of your game, you can add the following setting in your game’s repository:
DefaultGame.ini
[/Script/GLS.GLSSettings]
bEnableLogsInShippingBuilds=True
However, it’s essential to closely monitor the distribution builds submitted to the store.
When packaging these builds, you must include the -gls_disable
build flag. This flag will disable the GLS plugin, preventing the overlay from appearing in the game and ensuring that logs are not collected, even if bEnableLogsInShippingBuilds=True
is set to true.
By integrating the -gls_disable
build flag into your build pipeline for final builds, you can effectively disable the overlay and log collection, ensuring compliance with the store’s requirements while still enabling logs during development and testing.