Administration Tip – Robust Logging for SAS® Workspace Server
By Fulton Lee

Have you ever been asked the following questions?
  • Who used the SAS Workspace Server?
  • When was the SAS Workspace Server last used?
  • What was run on your SAS server?
Do you have regulatory compliance needs for logging?

If you are using SAS BI Server, SAS Data Integration Server or SAS Enterprise Miner Server, then you are using a SAS Workspace Server. The steps that follow will automatically store your SAS logs in a central location for review at a later time.

To turn session logging on the SAS Workspace Server:

1) Open SAS Management Console.
2) Right-click on the second level of the SAS Workspace Server.
3) Select Properties.
4) Add the following line to the Launch Commands – Command (see Figure 1):


a. “<SAS Path>\sas.exe” –config “<SAS Configuration Path>\SASMain\sasv9.cfg” -log "<SAS Configuration Path>\SASMain\WorkspaceServer\ws%H%M%s.log” -logparm "write=immediate rollover=session"

This sets the parameter for file handling of the log file.
5) To log the SAS commands run:
a. Add the command applevel=2 to the Object Server Parameters line.6) Restart the Object Spawner Service.
Figure 1 – SAS Workspace Server Properties Screen
Downlaod the PDF

SAS and all other SAS Institute Inc. product or service names are registered trademarks \or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration. Other brand and product names are trademarks of their respective companies. Copyright © 2007, SAS Institute Inc. All rights reserved.