Skip to content

Conversation

@ginkelsoft-development
Copy link
Owner

This commit introduces a configurable debug logging feature that helps developers and operators monitor encrypted search index operations.

Changes:

  • Added 'debug' configuration option in encrypted-search.php
  • Implemented conditional logging in updateSearchIndex() method
  • Implemented conditional logging in removeSearchIndex() method
  • Logs include model class, model ID, token count, and backend type

The logging only activates when ENCRYPTED_SEARCH_DEBUG=true is set in the environment configuration, preventing unnecessary log noise in production environments.

This commit introduces a configurable debug logging feature that helps
developers and operators monitor encrypted search index operations.

Changes:
- Added 'debug' configuration option in encrypted-search.php
- Implemented conditional logging in updateSearchIndex() method
- Implemented conditional logging in removeSearchIndex() method
- Logs include model class, model ID, token count, and backend type

The logging only activates when ENCRYPTED_SEARCH_DEBUG=true is set
in the environment configuration, preventing unnecessary log noise
in production environments.
@ginkelsoft-development ginkelsoft-development merged commit b9a348a into develop Oct 13, 2025
4 of 8 checks passed
ginkelsoft-development added a commit that referenced this pull request Oct 14, 2025
…logging

add optional debug logging for search index operations
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