Unitech / Unitech/pm2

Monit no logs

Open
#5,325 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
43.3k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

given this code

setInterval(() => {
  console.log('testings..');
}, 2000);

and running this..

npx pm2 start tester.js

then running this..

pm2 monit

Nothing is printed to log in monit.
Why?
enter image description here

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the report with tester.js by running npx pm2 start tester.js and then pm2 monit. Start by tracing how pm2 monit obtains and displays process logs; done means identifying why the console output is absent or confirming the expected behavior and documenting the result.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
cli, observability
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.