node.js - How to clean foreverjs logs for running processes? -
how clean logs foreverjs running process? can manually delete log files results in forever not logging anymore.
i've seen cleanlogs removes historical logs, not affecting logs of active processes.
if linux, may help:
for in /var/forever/path/to/log/*; cat /dev/null > $i; done
Comments
Post a Comment