Next.js Discord

Discord Forum

AppRouter CLI not showing request-logs anymore

Answered
Tomistoma posted this in #help-forum
Open in Discord
TomistomaOP
Hello y'all!
We created an app with NextJS 13 App Router, and for some time, when running next dev the CLI would log the requests of a pageload with HIT/MISS-Cache, but for some time now this log is gone, and I cannot reproduce when this happened...
Was this moved to a config-setting?

- wait compiling /todo/page (client and server)...
- event compiled client and server successfully in 576 ms (625 modules)

-  ┌ GET /todo 200 in 1169ms
   │
   └──── GET https://jsonplaceholder.typicode.com/todos/1 200 in 2ms (cache: HIT)


We're on latest release 13.4.19
Answered by Tomistoma
Alright, my colleague found the
experimental: {
  logging: 'verbose'
}

setting, which does exactly this 😄
View full answer

2 Replies

TomistomaOP
Also, the Debugger is being detached/attached multiple times during navigating the app

- wait compiling /[lang]/cart/page (client and server)...
- event compiled client and server successfully in 1787 ms (1533 modules)
Debugger listening on ws://127.0.0.1:60668/fdf4c8eb-8d30-4d34-9f2a-0bf381093aae
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
Debugger listening on ws://127.0.0.1:60671/385a95fa-815e-4593-9864-81eab1531f80
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
Waiting for the debugger to disconnect...
Waiting for the debugger to disconnect...
Debugger listening on ws://127.0.0.1:60690/1a2aa2e8-e9d4-4318-8e3f-02d29d5af82f
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
Waiting for the debugger to disconnect...
TomistomaOP
Alright, my colleague found the
experimental: {
  logging: 'verbose'
}

setting, which does exactly this 😄
Answer