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.
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.
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.
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.
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
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.