I know how to see the live logs in posit connect cloud for a currently deployed app, and i can watch those notices fly by when the app is in use.
How can I download these logs. Specifically how can I download more than the last 50 lines? A programmatic way in the deployed app background would be fantastic.
Hi @Norcalbiostat
You can access more than 50 lines of log history via the History page, which you can access via one of the iconographic buttons at the top right while viewing a specific piece of content. I don't think the UI currently has a feature to present that as a download though, you'd need to copy/paste.
Could you clarify your idea / use case for "in the deployed app background"?
Thanks!
Mike
Engineer on Connect Cloud
When i access the history of the logs, I do not see all activity. For example, for an app that was deployed on 3/26, that had a lot of user activity on 3/27 (which i wanted to capture), the oldest listed activity in the history is from 4/2.
As for my programmatic way, i was meaning something like where you open a file, all of the messages that would get sent to the log get sent to that file, then after a time you close the log, or it closes after x amount of minutes not in use, and you can download this text file for viewing/analyzing.
So like, on 3/27 the student who created this app was giving a live demo in a class presentation, where the audience was logging into the app and doing stuff. there were a handful of problems that I could see while watching the logs zoom by in the posit connect cloud admin page, but i wasn't able to save any of that info for us to go through and try to fix some of the problems after.
it would be nice for the app developer (which could be a different person from the posit connect cloud admin) to be able to access deployment log messages using some sort of code/file dump. Does that make sense?