Skip to content

perf(log): normalize log data only when logging#61532

Open
salmart-dev wants to merge 1 commit into
masterfrom
fix/logger-normalize-later
Open

perf(log): normalize log data only when logging#61532
salmart-dev wants to merge 1 commit into
masterfrom
fix/logger-normalize-later

Conversation

@salmart-dev

@salmart-dev salmart-dev commented Jun 23, 2026

Copy link
Copy Markdown
Contributor
  • Resolves: #

Summary

logData is called potentially hundreds of thousands of times, especially when the workflowengine app is enabled and flows are present. Currently we are always formatting the log data, which can include debugging exceptions and can be very slow. This should be done only if we actually want to log the data.

TODO

  • ...

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
@salmart-dev salmart-dev added this to the Nextcloud 35 milestone Jun 23, 2026
@salmart-dev salmart-dev self-assigned this Jun 23, 2026
@salmart-dev

Copy link
Copy Markdown
Contributor Author

/backport to stable34

@salmart-dev salmart-dev marked this pull request as ready for review June 23, 2026 09:17
@salmart-dev salmart-dev requested a review from a team as a code owner June 23, 2026 09:17
@salmart-dev salmart-dev requested review from Altahrim, come-nc, leftybournes and provokateurin and removed request for a team June 23, 2026 09:17
@CarlSchwan

Copy link
Copy Markdown
Member

/backport to stable33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants