Skip to content

Remove debug logging from hot paths - #294

Merged
kleisauke merged 1 commit into
libvips:masterfrom
kleisauke:remove-debug-from-hot-paths
Oct 2, 2026
Merged

kleisauke merged 1 commit into
libvips:masterfrom
kleisauke:remove-debug-from-hot-paths

Conversation

@kleisauke

@kleisauke kleisauke commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

Debug logging should be reserved for events that occur only once. For tracing libvips calls, use the VIPS_TRACE=1 env instead.

Comment thread src/Introspect.php
Comment thread CHANGELOG.md Outdated
Debug logging should only be needed when initializing FFI handles.
For tracing libvips calls, use the `VIPS_TRACE=1` env instead.
@kleisauke
kleisauke force-pushed the remove-debug-from-hot-paths branch from fc7b2fe to 62d9788 Compare October 2, 2026 13:38

@jcupitt jcupitt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@kleisauke
kleisauke merged commit c9e16d6 into libvips:master Oct 2, 2026
6 checks passed
@kleisauke
kleisauke deleted the remove-debug-from-hot-paths branch October 2, 2026 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants