HomePhorge

Fix performance by skipping XML debug when debugging is disabled
b8b3418644daUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Fix performance by skipping XML debug when debugging is disabled

Summary:
The XML bodies of request and response can be big. We're using
temp files to write them into the debug logs, and we did that
even when debugging is disabled.

Now we skip that slow code if debugging is disabled. I also unified
logging code for XML response and request.

Reviewers: Syncroton Developers, mollekopf

Reviewed By: Syncroton Developers, mollekopf

Subscribers: Syncroton Developers

Differential Revision: https://git.kolab.org/D4430

Details

Provenance
machniakAuthored on Jul 26 2023, 9:04 PM
mollekopfCommitted on Jul 26 2023, 9:04 PM
mollekopfPushed on Jul 27 2023, 9:16 AM
Reviewer
Syncroton Developers
Differential Revision
D4430: Fix performance by skipping XML debug when debugging is disabled
Parents
rSabad316fa5a2: php8 fixup
Branches
Unknown
Tags
Unknown