# Machine freezing for short periods

**URL:** <https://forum.storj.io/t/machine-freezing-for-short-periods/5739>\
**Category:** troubleshooting\
**Tags:** smr, storagenode, windows\
**Created:** [April 8, 2020, 9:11am UTC](https://forum.storj.io/t/machine-freezing-for-short-periods/5739 "2020-04-08T09:11:17Z")\
**Posts on this page:** 1\
**Showing post:** 91

<div class="post-metadata">

**Author:** ![SGC](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/sgc/32/1132_2.png) [@SGC](https://forum.storj.io/u/SGC)\
**Post date:** [June 10, 2020, 4:54pm UTC](https://forum.storj.io/t/machine-freezing-for-short-periods/5739/91 "2020-06-10T16:54:37Z")

</div>

i don’t think you have to run the docker rm command, to reinitialize with different run parameters.  
if you want to keep the logs…

else if you are on linux, i made a script that exports the logs while keeping the docker logs, but it does takes a bit of system resources if the logs in docker gets extensive…

you can find it here, if you expand the post or click the link  
this will also keep your logs across basically whatever you are doing… because it exports the previous whole minute to an external log file.

> [@SNO Flight Manual](https://forum.storj.io/t/sno-flight-manual/5396/8):
>
> ### Cron command for live appending logs, with date stamp and without redirecting logs from the storagenode container.
> 
> Wanted to keep this simple, which i didn’t, but now it works kinda great…  
> This will keep a 1min delayed live log saved, without having to redirect your docker log files and thus you can run all scripts by default or run stuff like docker logs storagenode --follow
> 
> how to make it work is explained in detail, below and everything is basically copy paste ready.  
> Enjoy… and i hope some else finds this useful.

---

_[View the full topic](https://forum.storj.io/t/machine-freezing-for-short-periods/5739)._
