The docs say that --log (or -l) on the pm2 cli will put both error and out logs in to that file specified after the -l flag. This is true, except it continues to write a second logging file in the default location /home/xxx/.pm2/logs.
This does not happen if you specify -e and -o separately.
The docs say that --log (or -l) on the pm2 cli will put both error and out logs in to that file specified after the -l flag. This is true, except it continues to write a second logging file in the default location /home/xxx/.pm2/logs.
This does not happen if you specify -e and -o separately.