BookmarkSubscribeRSS Feed
acfarrer
Quartz | Level 8

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.

 

 

2 REPLIES 2
dpage
SAS Employee

 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

PaulHomes
Rhodochrosite | Level 12

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

 

 

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

CLI in SAS Viya

Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1208 views
  • 2 likes
  • 3 in conversation