Write and run SAS programs in your web browser

Studio Maximum Log

Accepted Solution Solved
Reply
Contributor SDV
Contributor
Posts: 21
Accepted Solution

Studio Maximum Log

Can Studio's maximum log size be adjusted, or set to unlimited?  PC SAS users moving to Studio would like to see even very long logs scrolled in Studio. 


Accepted Solutions
Solution
‎07-06-2017 08:23 AM
Super User
Posts: 10,501

Re: Studio Maximum Log

I brief check shows that the DMSLOGSIZE parameter can only be set at invocation. So would have to appear in the configuration file.

 

Personally have very little interest in perusing the default 99999 lines manually.

View solution in original post


All Replies
Super User
Super User
Posts: 7,405

Re: Studio Maximum Log

Its generally limited for a good reason, otherwise your computers resources for the SAS session might blow up!

If you really want massive logs written out, direct them to a file:

proc printto log="c:\mylogfile.txt";
run;

and afterwards

proc printto;
run;

However if you allow any size logs you will rapidly run out disk space.  Even vastly complicated programs should not be generating that much log output.

Contributor SDV
Contributor
Posts: 21

Re: Studio Maximum Log

Yes, I understand the resource issue and why it is implemented this way.  Curious if the size can be increased. 

 

It really is a case of PC SAS users getting used to and understanding why things work differently in Studio. Even though the max size to scroll in Studio is reached, the user can still open the log using the link.

 

  It'd be nice to be able to adjust the max log size, but with warnings to the admins that it could cause the browser to crash.

Solution
‎07-06-2017 08:23 AM
Super User
Posts: 10,501

Re: Studio Maximum Log

I brief check shows that the DMSLOGSIZE parameter can only be set at invocation. So would have to appear in the configuration file.

 

Personally have very little interest in perusing the default 99999 lines manually.

Contributor SDV
Contributor
Posts: 21

Re: Studio Maximum Log

Agreed.  I think the user is raising this as an "issue" for two reasons.

 

1. It's different than how PC SAS behaves

2. They like seeing the log scroll by so that they know their program is still running

 

I've advised the user that this is just the way Studio operates and why.  Change is hard for some. 

☑ This topic is SOLVED.

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

Discussion stats
  • 4 replies
  • 213 views
  • 2 likes
  • 3 in conversation