S
S
Sergey2017-02-28 21:02:43
Node.js
Sergey, 2017-02-28 21:02:43

How to change the save path of the log file in pm2?

Good afternoon. Switched from forever to pm2 . And I can’t figure out how to run the script so that the logs are written to the directory I need /var/www/html/system/admin/logs/app.log

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2017-02-28
@interests70

Decided so
pm2 start app.js -o /var/www/html/log/app.log

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question