BookmarkSubscribeRSS Feed
mctrit8
Calcite | Level 5

Hi,

 

is it possible to delete log files older than x days by means SAS Environment Manager or other SAS applications in SAS VIYA 3.5 instead to use O.S. script?

Thank you.

4 REPLIES 4
AnandVyas
Ammonite | Level 13
I think Viya automatically zips the log files based on a retention period which is kept for 30 days before deleting.
Ref: https://go.documentation.sas.com/?docsetId=callogging&docsetTarget=p0hx4xhylly19zn1nkmpinnav2a2.htm&...
mctrit8
Calcite | Level 5

Ok and how can I set a different retention (the default is 30 days)?

Can I delete also zip file older then x days? Thank you.

alexal
SAS Employee

@mctrit8 ,

 

Please note these logs are not included in the archive process:

 

  • all-services
  • cas
  • cas-consul-registration
  • httpproxy
  • rabbitmq-server
  • vault
  • watch-log

Ok and how can I set a different retention (the default is 30 days)?

Please see here https://go.documentation.sas.com/?cdcId=calcdc&cdcVersion=3.5&docsetId=calopsinf&docsetTarget=p0swcb... 

 

Can I delete also zip file older then x days?

Yes.

mctrit8
Calcite | Level 5

I see in my environment:

Log_show.PNG

 

 

 

 

 

 

I don't see the 30 days default, what is the properties about the log retention? 

I need to delete log files on the file systems (and zip files) older then x days.

Thank you.

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
  • 4 replies
  • 2220 views
  • 0 likes
  • 3 in conversation