Unitech / pm2

Node.js Production Process Manager with a built-in Load Balancer.
https://pm2.keymetrics.io/docs/usage/quick-start/
Other
41.59k stars 2.62k forks source link

PM2 monit not displaying global logs #5480

Open prenaux opened 2 years ago

prenaux commented 2 years ago

What's going wrong?

pm2 monit doesn't show the process logs.

See this for example (from #4257) pm2 monit no logs

How could we reproduce this issue?

Run pm2 monit. The issue appear whether your using sudo or not on macOS.

Supporting information

Issue seen on:

See https://github.com/Unitech/pm2/issues/4257 that also describes the same issue

ghost commented 2 years ago

macOS 12.6 (M1) and pm2 version 5.2.2 also have issue

RappyTV commented 1 year ago

ubuntu 20.04 and pm2 v5.2.2 has the same issue

Emmet-v15 commented 1 year ago

This issue was first opened 4 years ago, what's going on?

Jackman3005 commented 1 year ago

Is there any way that monit could show historical logs? At least with a flag? It would be great to open it to debug a recent issue since it has an otherwise nice interface...