# View logs through Mender web UI of successful deployments?

**URL:** <https://hub.mender.io/t/view-logs-through-mender-web-ui-of-successful-deployments/3946>\
**Category:** General Discussions\
**Created:** [July 30, 2021, 5:51pm UTC](https://hub.mender.io/t/view-logs-through-mender-web-ui-of-successful-deployments/3946 "2021-07-30T17:51:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kris](https://avatars.discourse-cdn.com/v4/letter/k/82dd89/32.png) [@Kris](https://hub.mender.io/u/Kris)\
**Post date:** [July 30, 2021, 5:51pm UTC](https://hub.mender.io/t/view-logs-through-mender-web-ui-of-successful-deployments/3946/1 "2021-07-30T17:51:22Z")

</div>

Hello, I’m working on modifying the single-file update module for use in our specific case. I have a few cases where I want to see the logs of a successful deployment, but, that doesn’t seem to be something readily doable from the web UI.

On a failed deployment, on the specific DeviceID row, to the right of “Deployment status” is a “View Log” button. This button does not exist for a successful deployment. Is there any way to easily see the logs from the web UI?

Mender server 3.0.0 and client 2.6.0 (if that matters).

Thanks!

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [August 2, 2021, 7:36am UTC](https://hub.mender.io/t/view-logs-through-mender-web-ui-of-successful-deployments/3946/2 "2021-08-02T07:36:07Z")

</div>

You can use the Remote Terminal feature at the bottom of the device screen to log into the device. The deployment logs are available in the `/var/lib/mender/deployments*.log` files.

---

<div class="post-metadata">

**Author:** ![Kris](https://avatars.discourse-cdn.com/v4/letter/k/82dd89/32.png) [@Kris](https://hub.mender.io/u/Kris)\
**Post date:** [August 2, 2021, 4:34pm UTC](https://hub.mender.io/t/view-logs-through-mender-web-ui-of-successful-deployments/3946/3 "2021-08-02T16:34:44Z")

</div>

And what can be done in the case of Remote Terminal not being enabled on a device (specifically not used in our implementation per customer requirements)? Is there no way to view successful deployment logs through the UI, only failed?

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [August 3, 2021, 7:34am UTC](https://hub.mender.io/t/view-logs-through-mender-web-ui-of-successful-deployments/3946/4 "2021-08-03T07:34:49Z")

</div>

In that case I think no.

If this is for debugging, you could make an artifact with an `ArtifactCommit_Leave_99` script which uploads the latest `/data/deployment*.log` file somewhere. I think uploading it to the Mender server won’t be possible though. I’m unsure if the backend API supports it or not, but in any case I don’t think the UI will show it for a successfully updated device. So a file upload service would be a better option.
