Read the statement by Michael Teeuw here.
SD memory card is slowly filling up
-
@sdetweil
I was able to do something and I found this post:
https://forum.magicmirror.builders/topic/917/pm2-logs/7
I then entered the command “pm2 flush” and I already have 21GB of free space again, that looks very good.
could I automate something like that? or deactivate the pm2 log? -
@drx1984 I gave u the pm2 flush command
if u install winscp on your pc box, and enable ssh on your pi, you can get a file manager.over the pi files from your pc
then just double click to edit like u do on the pc. right click to rename/deleteI would have looked at the log to find out what modules are generating all that content.
far as I know there is no way to turn off the log.
maybe
pm2 help
would some some options -
also file location
~
means users home folder
so when logged on as pi, that means
/home/piso from my post
~/.pm2/logs means
/home/pi/.pm2/logsu can get there over ssh, or using a terminal window on the pi, or a file manager on the pi, just like u do on widows
-
@sdetweil
yes I had already installed the program WinSCP, but I don’t see this folder pm2 ??? ( see image)Yes that would be interesting which modules cause these logs. next time I won’t just delete it.
-
@drx1984 said in SD memory card is slowly filling up:
@sdetweil
yes I had already installed the program WinSCP, but I don’t see this folder pm2 ??? ( see image)Yes that would be interesting which modules cause these logs. next time I won’t just delete it.
ah it was hidden all clear, thank you
-
@drx1984 said in SD memory card is slowly filling up:
@drx1984 said in SD memory card is slowly filling up:
@sdetweil
yes I had already installed the program WinSCP, but I don’t see this folder pm2 ??? ( see image)Yes that would be interesting which modules cause these logs. next time I won’t just delete it.
ah it was hidden all clear, thank you
I saw that there is a tool for deleting the pm2 log, do you know it: https://github.com/keymetrics/pm2-logrotate
-
@drx1984 no. but looks interesting
as for hidden, for others, see