Next.js logs
How Next.js sends logs, and when to use a collector.
The client entrypoint behaves like the browser SDK (errors and traces, not file logs). On the server, send application logs with a collector or an OpenTelemetry exporter over OTLP/HTTP. Keep the two bundles disjoint. Enable Logs in project settings.
Related: Next.js, Next.js configuration.