# Node-red.log in Temp Folder

**URL:** <https://discourse.nodered.org/t/node-red-log-in-temp-folder/87779>\
**Category:** General\
**Created:** [7 May 2024 13:22 UTC](https://discourse.nodered.org/t/node-red-log-in-temp-folder/87779 "2024-05-07T13:22:49Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [22 May 2024 09:53 UTC](https://discourse.nodered.org/t/node-red-log-in-temp-folder/87779/21 "2024-05-22T09:53:34Z")

</div>

> [@jbudd](#):
>
> My specific concern is that after setting up Node-red as a service _according to the documentation_, there is a logfile which can only grow and no obvious mechanism to constrain it.

That is a problem, but you also said:

> [@jbudd](#):
>
> So I think the best option is to install Node-red and send what telemetry I can in the hope of spotting a clue.

A solution to _that_ is to use flogger. You can then send the telemetry there, which is much better than relying on the node-red log which will be cluttered with lots of other irrelevant stuff.

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [22 May 2024 10:01 UTC](https://discourse.nodered.org/t/node-red-log-in-temp-folder/87779/22 "2024-05-22T10:01:42Z")

</div>

Flogger may be handy but I am sending the telemetry over the internet via MQTT. I don't want to retain it on the PC.

When I mentioned telemetry I was confused over which thread I was posting in.

It is irrelevant to to issue of C:/temp/node-red.log.  
I'd go back and delete it but that would make things worse.

Thanks for trying to interpret and advise 😀

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [22 May 2024 11:01 UTC](https://discourse.nodered.org/t/node-red-log-in-temp-folder/87779/23 "2024-05-22T11:01:36Z")

</div>

In my defence - at the time I wrote that I hadn't been using windows for about 5 years so I just assumed nssm would do the right thing, and if not then windows machines always need massive disks anyway as the OS is so huge, and normally need a reboot on update Tuesday. 😉

But yes I'm sure nssm has improved since then, as has windows, and other solutions, etc - so if anyone fancies updating the docs, please feel free to raise a PR.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [20 August 2024 11:02 UTC](https://discourse.nodered.org/t/node-red-log-in-temp-folder/87779/24 "2024-08-20T11:02:32Z")

</div>

Closed on 20 August 2024 11:02 UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

[Previous page](https://discourse.nodered.org/t/node-red-log-in-temp-folder/87779.md?page=1)
