# Storagenode.log läuft voll

**URL:** <https://forum.storj.io/t/storagenode-log-lauft-voll/19440>\
**Category:** Node Operators\
**Tags:** auf-deutsch, storagenode, windows\
**Created:** [August 18, 2022, 2:59pm UTC](https://forum.storj.io/t/storagenode-log-lauft-voll/19440 "2022-08-18T14:59:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Walter1](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/walter1/32/7825_2.png) [@Walter1](https://forum.storj.io/u/Walter1)\
**Post date:** [August 18, 2022, 2:59pm UTC](https://forum.storj.io/t/storagenode-log-lauft-voll/19440/1 "2022-08-18T14:59:20Z")

</div>

Hallo zusammen,

bei meinem Windows-Knoten läuft die storagenode.log-Datei voll:

 ![grafik](https://storj-s3.bcdn.literatehosting.net/original/2X/0/0d1eaa920ba19aef842212d6f9ec2ff3afb376e3.png)

Kann man dagegen etwas tun? Kann man diese einfach so löschen nach dem Knotenende?

Danke und Gruß,

---

<div class="post-metadata">

**Author:** ![Stob](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/stob/32/1137_2.png) [@Stob](https://forum.storj.io/u/Stob)\
**Post date:** [August 18, 2022, 3:14pm UTC](https://forum.storj.io/t/storagenode-log-lauft-voll/19440/2 "2022-08-18T15:14:00Z")

</div>

Hi @Walter1  
The two simplest options are:

- Stop the node, rename the log file to retain it, start the node
- Stop the node, delete the log, start the node

It depends if you may need to refer back to the log in the future. This is unlikely, but not impossible, if the node is currently working fine.

---

<div class="post-metadata">

**Author:** ![bre](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/bre/32/69_2.png) [@bre](https://forum.storj.io/u/bre)\
**Post date:** [August 18, 2022, 3:24pm UTC](https://forum.storj.io/t/storagenode-log-lauft-voll/19440/3 "2022-08-18T15:24:35Z")

</div>

Hi @Walter1

Dieses Skript könnte Ihnen helfen

> [@Native logs rotation in Windows with a simple PowerShell script](https://forum.storj.io/t/native-logs-rotation-in-windows-with-a-simple-powershell-script/6241):
>
> Hello, Unfortunately, in the current windows version of the Storage Node there is no way to rotate or limit the size of the generated logs files. You cannot delete them from the GUI because they are locked by the services processes. Using Clear-Content in PowerShell to reset the files works but there is no easy solution if you want to keep a few days / weeks of logs. I have written a small PowerShell script that can rotate the Storjs Logs without the need of Stop\>Start the services to release …

---

<div class="post-metadata">

**Author:** ![littleskunk](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/littleskunk/32/63_2.png) [@littleskunk](https://forum.storj.io/u/littleskunk)\
**Post date:** [August 19, 2022, 9:22am UTC](https://forum.storj.io/t/storagenode-log-lauft-voll/19440/4 "2022-08-19T09:22:26Z")

</div>

> [@Walter1](#):
>
> Kann man dagegen etwas tun? Kann man diese einfach so löschen nach dem Knotenende?

Logrotate gibt es auch für Windows. Das kann im laufenden Betrieb die Logdatei leeren und den Inhalt irgendwo hinsischern wenn du es wünscht.
