BookmarkSubscribeRSS Feed
Lapis Lazuli | Level 10


what is usual log files need to rename after stopping the SAS services ? 

e.g.  We create folder for Lev1/Web/WebAppServer/SASServer2_1/logs  and move all log to that .

many thanks in advance.

Barite | Level 11
I am assuming you have SAS 9.4. If you want to save the log, right-click in the log window during the SAS session and select "File" -> "Save as" from the drop-down list. You can save the log to any location. It will appear as a text file.

Normally, I don't think it is necessary to archive web SAS Server logs after a restart. I usually just delete old logs and that is a lot easier to do than archiving into a folder.

Lapis Lazuli | Level 10
Which are all we can delete for SAS 9.4 mid tier and compute tier and from metadata tier ? Do you have list for it ?

It's up to you how much log history you keep. I tend to delete any log files older than 6 months. However you may have good reasons to retain some logs for longer like metadata server logs so you can track accesses. I can't give you a list of logs as it varies with where you have installed your SAS software, what products you have and what version you have. You could build a script for deleting old files if you prefer an automated approach.

Meteorite | Level 14

The following link provide the location of the log files SAS 9.4 
In a typical organization, there are policies for log retention/archiving. If there is none, then create a policy, document it and follow it.


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 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 5 replies
  • 1 like
  • 4 in conversation