Unitech / Unitech/pm2

Separate log messages get squashed into a single one

Open
#1,544 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

S: Icebox T: Bug
Dominant language
JavaScript
Stars
43.3k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

[worker] _3DCartDownloadOrders-27 2015-08-20T07:28:47.134Z - : LimitOffset:readPageRequest 
{ params: { limit: 100, offset: 401, datestart: '05/20/2015' } }
[worker] _3DCartDownloadOrders-27 2015-08-20T07:28:47.135Z - : LimitOffset:readPageRequest 
{ params: { limit: 100, offset: 501, datestart: '05/20/2015' } }
[worker] _3DCartDownloadOrders-27 2015-08-20T07:28:47.136Z - : LimitOffset:readPageRequest 
{ params: { limit: 100, offset: 601, datestart: '05/20/2015' } }
2015-08-20T07:28:47.137Z - : LimitOffset:readPageRequest 
{ params: { limit: 100, offset: 701, datestart: '05/20/2015' } }
[worker] _3DCartDownloadOrders-27 2015-08-20T07:28:47.139Z - : LimitOffset:readPageRequest 
{ params: { limit: 100, offset: 801, datestart: '05/20/2015' } }

This happens only sometimes, so maybe it's caused by a race condition of some kind.

Software versions:

starfall@nx:~/workspace/bellefit-engine$ pm2 --version
0.14.7
starfall@nx:~/workspace/bellefit-engine$ node --version
v0.12.7
starfall@nx:~/workspace/bellefit-engine$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04 LTS"

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

The report names no source files, tests, or entry points. Start by reproducing the intermittent log squashing with the reported PM2 0.14.7 and Node.js 0.12.7 versions, then trace the logging path for concurrent writes. Done means separate log messages remain distinct and a regression test covers the behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.