# How to get a console log when Node Red runs as a windows service?

**URL:** https://discourse.nodered.org/t/how-to-get-a-console-log-when-node-red-runs-as-a-windows-service/20084
**Category:** General
**Created:** [8 January 2020 22:42 UTC](https://discourse.nodered.org/t/how-to-get-a-console-log-when-node-red-runs-as-a-windows-service/20084 "2020-01-08T22:42:34Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![regissg](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@regissg](https://discourse.nodered.org/u/regissg)
#### Post date: [8 January 2020 22:42 UTC](https://discourse.nodered.org/t/how-to-get-a-console-log-when-node-red-runs-as-a-windows-service/20084/1 "2020-01-08T22:42:34Z")

</div>

I have installed Node Red as a windows 10 service using the NSSM method.

Is it possible to add a console to see my log messages in realtime?

---

<div class="post-metadata">

### Author: ![Maximus1](https://avatars.discourse-cdn.com/v4/letter/m/90ced4/32.png) [@Maximus1](https://discourse.nodered.org/u/Maximus1)
#### Post date: [8 January 2020 22:53 UTC](https://discourse.nodered.org/t/how-to-get-a-console-log-when-node-red-runs-as-a-windows-service/20084/2 "2020-01-08T22:53:47Z")

</div>

> **[bartbutenaers/node-red-contrib-xterm](https://github.com/bartbutenaers/node-red-contrib-xterm)**
>
> A Node-RED node terminal front-end, to execute backend CLI commands - bartbutenaers/node-red-contrib-xterm

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [8 January 2020 23:31 UTC](https://discourse.nodered.org/t/how-to-get-a-console-log-when-node-red-runs-as-a-windows-service/20084/3 "2020-01-08T23:31:44Z")

</div>

A quick Google search finds you can tell nssm to write stdout to a file, if it doesn't already.

[https://nssm.cc/usage](https://nssm.cc/usage)

---

<div class="post-metadata">

### Author: ![regissg](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@regissg](https://discourse.nodered.org/u/regissg)
#### Post date: [9 January 2020 18:20 UTC](https://discourse.nodered.org/t/how-to-get-a-console-log-when-node-red-runs-as-a-windows-service/20084/4 "2020-01-09T18:20:30Z")

</div>

thanks, that and a log tail with powershell does the job
