Logging

Sie können den Logging-Level konfigurieren und festlegen, ob die vollständige URL in der Konsole protokolliert wird, wenn Next.js im Entwicklungsmodus ausgeführt wird.

Aktuell gilt logging nur für Datenabrufe über die fetch-API. Es betrifft noch keine anderen Logs innerhalb von Next.js.

next.config.js
module.exports = {
  logging: {
    fetches: {
      fullUrl: true,
    },
  },
}