Unitech / pm2

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

No color or spaces outputs in console #5697

Closed Majoramari closed 4 months ago

Majoramari commented 10 months ago

What's going wrong?

PM2 logs don't show colors or spaces. It shows spaces for the first usage of the command, but when I get more outputs, it crumples. It doesn't print a new empty line as it should.

Note: I tried options like --colors and --color, as I saw it mentioned online.

How could we reproduce this issue?

pm2 logs [ID] --row --lines

Supporting information

$ pm2 report

PM2 | 2023-10-21T07:27:49: PM2 log: SIGTERM timeout : 1600 PM2 | 2023-10-21T07:27:49: PM2 log: =============================================================================== PM2 | 2023-10-21T07:36:10: PM2 log: =============================================================================== PM2 | 2023-10-21T07:36:10: PM2 log: --- New PM2 Daemon started ---------------------------------------------------- PM2 | 2023-10-21T07:36:10: PM2 log: Time : Sat Oct 21 2023 07:36:10 GMT+0300 (Eastern European Summer Time) PM2 | 2023-10-21T07:36:10: PM2 log: PM2 version : 5.3.0 PM2 | 2023-10-21T07:36:10: PM2 log: Node.js version : 20.5.1 PM2 | 2023-10-21T07:36:10: PM2 log: Current arch : x64 PM2 | 2023-10-21T07:36:10: PM2 log: PM2 home : /home/majoramari/.pm2 PM2 | 2023-10-21T07:36:10: PM2 log: PM2 PID file : /home/majoramari/.pm2/pm2.pid PM2 | 2023-10-21T07:36:10: PM2 log: RPC socket file : /home/majoramari/.pm2/rpc.sock PM2 | 2023-10-21T07:36:10: PM2 log: BUS socket file : /home/majoramari/.pm2/pub.sock PM2 | 2023-10-21T07:36:10: PM2 log: Application log path : /home/majoramari/.pm2/logs PM2 | 2023-10-21T07:36:10: PM2 log: Worker Interval : 30000 PM2 | 2023-10-21T07:36:10: PM2 log: Process dump file : /home/majoramari/.pm2/dump.pm2 PM2 | 2023-10-21T07:36:10: PM2 log: Concurrent actions : 2 PM2 | 2023-10-21T07:36:10: PM2 log: SIGTERM timeout : 1600 PM2 | 2023-10-21T07:36:10: PM2 log: =============================================================================== PM2 | 2023-10-21T07:36:30: PM2 log: App [Mudae:0] starting in -fork mode- PM2 | 2023-10-21T07:36:30: PM2 log: App [Mudae:0] online

Majoramari commented 4 months ago

No answer