[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live)

[Feedback](/c/feedback/8)

# Consolidate server log entries into 1 entry per request

66 views · 3 likes · 3 posts


Andpoulsenlunar (@andpoulsenlunar) · 2024-11-08

<!-- Current versus Expected behavior -->
Currently each action of writing to standard output, such as using `console.log`, results in a separate log entry. (as per the [documentation](https://vercel.com/docs/functions/logs))

Before October 1 2024, logs would been consolidated into 1 single log entry, with all the log messages concatenated into 1 message. For my use case, this was a much easier way to read the log.

Could this be something that could be configured perhaps? There's also now additional storage load, since each log message for a request now contains duplicate information across the same request.


Pauline P. Narvas (@pawlean) · 2024-11-22

Thanks for sharing this, @andpoulsenlunar! I've shared with the team internally and will loop back with any comments. :pray:


Timo Lins (@timo) · 2024-12-07 · ♥ 3

Hi @andpoulsenlunar – we just rolled out an [update to Logs](https://vercel.com/changelog/runtime-logs-now-show-event-sequences-for-vercel-requests) this week, which groups all log lines from a request. It also works across execution environments like when using middleware + function in a single request.


![image|690x400](upload://h7Hkowoko9Uj6JME2jWoffG1L25.jpeg)

Hope this helps – thanks again for sharing.