Desktop productivity for business analysts and programmers

SAS EG log file overwriting

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 8
Accepted Solution

SAS EG log file overwriting

Hi All -

Log is overwriting in SAS EG if i run code again in same session. I would like to append the log instead of overwrite.

For now i am saving log using proc printto to have all log content.

Thanks,

Durga.


Accepted Solutions
Solution
‎09-15-2014 11:19 AM
Super User
Posts: 1,099

Re: SAS EG log file overwriting

Please turn on the project log in SAS EG.

For this modify the tools. Go to SAS EG tools, select options then general and then check the "enable the project log for new projects".

By this way all logs will be stored in project log which can be viewed from View --> Project Log in EG

Thanks,
Jag

Thanks,
Jag

View solution in original post


All Replies
Valued Guide
Posts: 2,111

Re: SAS EG log file overwriting

That behavior is by design.  EG is essentially submitting a batch job to the server and that's the way batch jobs work.   Since EG is not keeping each version of the source code, I'm not sure the value of the old logs.

EG does have a mechanism to save BOTH the code and the log.  When you run a task, select 'no' on placing the output.

Solution
‎09-15-2014 11:19 AM
Super User
Posts: 1,099

Re: SAS EG log file overwriting

Please turn on the project log in SAS EG.

For this modify the tools. Go to SAS EG tools, select options then general and then check the "enable the project log for new projects".

By this way all logs will be stored in project log which can be viewed from View --> Project Log in EG

Thanks,
Jag

Thanks,
Jag
Occasional Contributor
Posts: 8

Re: SAS EG log file overwriting

Thank You All!!

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 638 views
  • 3 likes
  • 3 in conversation