DEV Community

sunj
sunj

Posted on

pm2, log 및 삭제

nodejs의 console.log를 보기

pm2 logs
Enter fullscreen mode Exit fullscreen mode

error 로그 등등 전부 삭제

pm2 flush
Enter fullscreen mode Exit fullscreen mode

참조: https://stackoverflow.com/questions/53772939/how-do-i-delete-flush-pm2-logs-for-only-one-app

Top comments (0)