# Node-red-log to file

**URL:** https://discourse.nodered.org/t/node-red-log-to-file/27683
**Category:** General
**Created:** [2 June 2020 21:12 UTC](https://discourse.nodered.org/t/node-red-log-to-file/27683 "2020-06-02T21:12:49Z")
**Posts on this page:** 1
**Showing post:** 17

<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: [23 June 2020 06:57 UTC](https://discourse.nodered.org/t/node-red-log-to-file/27683/17 "2020-06-23T06:57:44Z")

</div>

> [@StrongTown](#):
>
> 17,280 samples

That seems a little over the top since you only have a few hundred pixels across the screen, which means you have several tens of times more samples than you need.  
I would start by dramatically reducing the rate at which data is added to the chart.  
Are you running the browser on the Pi too? If so then what happens if you close and re-open the browser?  
Also are you running the latest version of node-red and node-red-dashboard? If not then worth upgrading I think, if nothing else then just to eliminate that from the equation.

---

_[View the full topic](https://discourse.nodered.org/t/node-red-log-to-file/27683)._
