01-25-2015 07:19 AM
hi all, please suggest me a solution to export all the logs generated in EG to a unix location. I am having 3-4 programs in my EG project and want all of them to be exported. thanks in advance.
01-25-2015 10:08 AM
After running proc printto code ,you can print them back into LOG window by using another data step . Like :
infile 'the file name of printto' ;
01-25-2015 08:04 AM
You can do this serverside.
First of all, you need to configure your workspace server to write separate logs for each session and also to include all actions done on the client. You do that in the sasv9_usermods.cfg and the logconfig.xml file.
Then you need to set up a process that copies the logs to the wanted location.
Regarding proc printto, specify the code you used, the log and what did not work.
"not working" ???
01-25-2015 03:25 PM
ask your platform admin to activate logging using that logging framework at the server side.
The APM tooling is a standard documented approach with that. No need for manual coding.
01-25-2015 05:04 PM
If your objective is just to keep logs of your EG Project runs, you could consider exporting your projects as code and run them as SAS batch jobs which generate log files automatically. That way you don't need to make any process changes (PROC PRINTTO) or configure your SAS servers for logging.