# Log files in docker node red

**URL:** <https://discourse.nodered.org/t/log-files-in-docker-node-red/23396>\
**Category:** General\
**Created:** [21 March 2020 09:21 UTC](https://discourse.nodered.org/t/log-files-in-docker-node-red/23396 "2020-03-21T09:21:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tobiasselin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tobiasselin/32/4492_2.png) [@tobiasselin](https://discourse.nodered.org/u/tobiasselin)\
**Post date:** [21 March 2020 09:21 UTC](https://discourse.nodered.org/t/log-files-in-docker-node-red/23396/1 "2020-03-21T09:21:24Z")

</div>

I've had a couple node red instances that I run in docker where the log.json file has grown to tens of GBs in only a few weeks/months. Are there environment variables in docker that can be used to limit log file size? Or other solutions? I've not investigated exactly what nodes are responsible but the flows I run are the same as in instances installed regularly and there I don't have this problem.

---

<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 May 2020 09:31 UTC](https://discourse.nodered.org/t/log-files-in-docker-node-red/23396/2 "2020-05-20T09:31:12Z")

</div>

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