- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hopefully someone else can provide the XML snippet, but in the meantime for the logger definitions
and for the usage of SASMC to change live logging levels
The topics are covered in the SAS(R) 9.4 Intelligence Platform: System Administration Guide
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
As mentioned by @dpage you can dynamically change the levels for the loggers in SAS Management Console. If you need to dynamically switch from one logging configuration to another (such as logconfig.xml to logconfig.trace.xml and back again) you can also use PROC IOMOPERATE. I have an old blog post that discusses this with sample code: https://platformadmin.com/blogs/paul/2012/01/dynamic-logconfig-sas93/
For tracking changes to metadata objects you would be interested in the logger Audit.Meta.Updates