Architecting, installing and maintaining your SAS environment

Enable Metadata server debugging using proc metadata or proc metaoperate

Reply
Contributor
Posts: 27

Enable Metadata server debugging using proc metadata or proc metaoperate

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.

 

 

SAS Employee
Posts: 101

Re: Enable Metadata server debugging using proc metadata or proc metaoperate

 Hopefully someone else can provide the XML snippet, but in the meantime for the logger definitions

 

http://support.sas.com/documentation/cdl/en/bisag/68240/HTML/default/viewer.htm#n0pitzrsxlrvyfn1o967...

 

and for the usage of SASMC to change live logging levels

http://support.sas.com/documentation/cdl/en/bisag/68240/HTML/default/viewer.htm#p0o497lmygjfrfn0z7t9...

 

The topics are covered in the SAS(R) 9.4 Intelligence Platform: System Administration Guide

PROC Star
Posts: 392

Re: Enable Metadata server debugging using proc metadata or proc metaoperate

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

 

 

Ask a Question
Discussion stats
  • 2 replies
  • 226 views
  • 2 likes
  • 3 in conversation