Hello everyone, I just found this article https://communities.sas.com/t5/SAS-Communities-Library/Sweep-up-my-SAS-logs/ta-p/257385 (LogConfigSweeper tool) and wonder if anyone has any experience using it. If you have, how easy is the install? Is it easy to uninstall if you decide not to use it? ...
I installed the LogConfigSweeper utility on a Five Linux SAS Server enviornment that is comprised of the following
2-SASEMTM - Compute Server with "ObjectSpawner" directory located in SAS-configuration-directory/Lev1/
3-SASAPP - Computer Server with "ObjectSpawner2" directory located in SAS-configuration-directory/Lev1/
4-SASECCSA - Compute Server with "ObjectSpawner3" directory located in SAS-configuration-directory/Lev1/
When executing SAS-configuration-directory/Lev1/LogConfigSweeper.sh objectspawner -output /tooloutput on 2-SASEMTM the zipped file is created with all of the logs located in SAS-configuration-directory/Lev1/ObjectSpawner/Logs directory.
However, executing the LogConfigSweeper utility on 3-SASAPP or 4-SASECCSA for ObjectSpawner files the zip file is empty. It appears the LogConfigSweeper utility does not recognize or find the appropriate logs because of the "ObjectSpawner2" or "ObjectSpawner3" directory names.
Does the "logconfigsweeper.jar" executable require modification?
Thanks for providing the LogConfigSweeper tool, this looks very promising.
I wasn't able to collect the logs on either a Unix (AIX) OA 9.4 (Metadata-Compute) or a second Linux MidTier machine.
In both cases, the SASConfig directory is named <path>/SASCFG/Lev0 ("zero") which, although correct, differs from the Lev1 default naming scheme : might this difference be the cause of the issue ?
The LogConfigSweeper sucessfully creates the target folder then stops unexpectedly, folder still empty.
./LogConfigSweeper.sh -output logconfigsweeper logconfigsweeper/20190111-162631 Output File Path: logconfigsweeper/20190111-162631 [logconfigsweeper/20190111-162631] ***** STARTED SAS LOGCONFIGSWEEPER TOOL (version 1.0)*****
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
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.