Skip to content

Retrieve log streaming #457

Discussion options

You must be logged in to vote

Well, no, not really. The method call doesn't 'return' to you until it's finished. Which means that unless you had multiple threads you couldn't even be getting the log while the submit was still executing in the other thread. And that's not how this works. Also, depending upon the access method, I don't necessarily get the log, from SAS, until after the code is finished executing, since those are API calls to SAS and they don't provide the output until after the code finishes. STDIO is getting it 'live', but it can't 'return' streaming unless you had another thread to be reading it. For debugging, you can add print() for the log in the loop in submit (for STDIO) so it would just write it…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@brandon-yilmaz
Comment options

Answer selected by brandon-yilmaz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants