BookmarkSubscribeRSS Feed
MG18
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.

5 REPLIES 5
pink_poodle
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.
SASKiwi
PROC Star

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.

MG18
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 ?
SASKiwi
PROC Star

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.

Sajid01
Meteorite | Level 14

The following link provide the location of the log files SAS 9.4
https://go.documentation.sas.com/doc/en/bicdc/9.4/bisag/p1ausbmrrybuynn1xnxb6jmdfarz.htm 
https://documentation.sas.com/doc/en/bicdc/9.4/bimtag/n1ih0exzxu35f3n1xfec5udk1l3f.htm 
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
  • 402 views
  • 1 like
  • 4 in conversation