Several years ago, I had a script and SAS code that would toggle between extended logging and the default. The XML was fairly complex but was commonly used within SAS tech support. I have lots of examples in my archives but not this.
The other option of editing logconfig.xml and restarting the Metadata is not suitable for a live Prod environment. Using SAS MC, connecting to SASMeta and changing the logging is another option if I could remember which to change. App.Meta and and Audit.Meta look familiar.
Specifically, we are trying to trace permissions issues between SAS Folders and the SAS Content Server and , more generally, track changes to Deployed objects like Flows and Jobs.