I'm using Proc Printto to save the log & output to a directory, which it does quite nicely, however the log is no longer printed in the log window. I still prefer to use the log for debugging.
proc printto
print='<directory>\output.lst'
log = '<directory>\log.log'
new;
run;
(The new option replaces any existing log - works same as replace in other procs)
Many thanks.