logrotate in forever.js

357 views
Skip to first unread message

manjunath

unread,
Oct 4, 2014, 10:35:50 PM10/4/14
to nod...@googlegroups.com
hi

we are running an app using forever.js, but its creating hefty log file due to heavy traffic that we get on the app, is there a way to limit the log size or use logrotate and delete old logs after certain period of time.

thanks

tpx1

unread,
Oct 5, 2014, 1:07:10 PM10/5/14
to nod...@googlegroups.com
I think you couldn't turn off logging, but you could
use forerver cleanlogs or start a process like this

forever start -l forever.log -o out.log -e err.log my-daemon.js

Hope it will help
Reply all
Reply to author
Forward
0 new messages