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

Popular posts from this blog

php - Hide output during test execution -

javascript - Migrate custom AngularJS filter from 1.2.28 to 1.4.x -

Update Magento products with multiple images -