I am attempting to turn on detailed logging for a site (Administer -> System Settings -> Misc (Undelete, PDFs, Limits, Logging, Captcha, etc.), the Logging option. When I save the change, I'm getting a gateway timeout, and am working with the hosting company to resolve that.
In the meantime, where is that setting saved? I don't see a place in civicrm.settings.php nor in the civicrm_setting table. But I suspect that's because No is the default.
How and where can I add that setting manually? So far, my Google Fu is failing me.