You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was hoping to copy/paste or download logs to share in an issue but sadly the button is greyed out. This may be because the agent is disconnected? In error scenarios like this, can we make this accessible?
Right now you can curl https://${CODER_URL}/api/v2/workspaceagents/${WORKSPACE_BUILD_ID}/logs and get JSON-formatted logs (most browsers will format that nicely for you anyhow). You can also hit that up in the browser.
I was speaking with @SasSwart about this earlier though, and it would actually be nice to have a plain-text logs endpoint. We could then just link to that directly in the UI in a [View Logs] button which would open the endpoint in a new tab.
(Aside, it would also be very nice to have a CLI command to view logs e.g. coder logs <workspace>!)
I was hoping to copy/paste or download logs to share in an issue but sadly the button is greyed out. This may be because the agent is disconnected? In error scenarios like this, can we make this accessible?
Scenario: coder/envbuilder#385
The text was updated successfully, but these errors were encountered: