next-logger icon indicating copy to clipboard operation
next-logger copied to clipboard

NextJS logging still recorded per-linebreak, instead of a single log

Open pr28jat opened this issue 1 year ago • 1 comments

Upon show log from nextJS, each line of a log still shows as individual log.

How to reproduce:

  1. Spawn nextJS server
  2. Inspect the nextJS log on the server console

Actual:

  1. One log for nextJS initiation is counted as 5

image

Expected:

  1. One log from nextJS should be wrapped as one log

pr28jat avatar Sep 10 '24 08:09 pr28jat

You can try to run node with this environment variable NODE_OPTIONS='-r next-logger'

cheeming avatar Mar 10 '25 10:03 cheeming