Setting BuildSettings flags in 4.17

I just played with this a bit and it looks like you can get away with just setting

 UEBuildConfiguration.bUseLoggingInShipping = true;

the emitted file will be found in AppData\Local\(YourGameTitle)\Saved\Logs