linux - Switch forever logs without stopping forever service -


we using forever in our production environment , when trying rotate logs forever process killed though i'm using copytruncate. now, can bypass restarting forever service in postrotate scripts, wanted know whether there command change forever log file. - forever restart -l new_log.log app.js

is there way this? or stopping , starting forever process absolute neccesity?

thanks bunch.

yes, stopping , restarting necessary. i'd recommend using pm2 instead. offers same forever , much more. it's lot easier use. , has log-rotate plugin automatically takes care of log rotation, hassle-free , configured want.


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -