Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to clean foreverjs logs for running processes?

How do I clean logs for foreverjs for a running process? I can manually delete the log files but that results in forever not logging anymore.

I've also seen cleanlogs but that only removes historical logs, but not affecting logs of any active processes.

like image 701
HHHH Avatar asked Jul 30 '15 10:07

HHHH


1 Answers

From the forever documentation:

forever cleanlogs    [CAREFUL] Deletes all historical forever log files
like image 181
Edgar Avatar answered Sep 29 '22 20:09

Edgar