It should be nice to turn debugging on and off from the gui. Suggested patch will follow.

Comments

misc’s picture

StatusFileSize
new650 bytes

Patch attached.

misc’s picture

Title: Add possibility to debug inside Drupal » Add possibility to add debug inside Drupal
spleshka’s picture

Status: Active » Closed (works as designed)

Unfortunately, it would not makes so much sense. If the variable memcache_storage_debug will be stored in a database, then the debug will log memcached requests only after the bootstrap of variables, and we will never see requests to the memcached before their initialization. So we can't enable the debug in a UI, otherwise we will loose initial part of debug entries.

misc’s picture

StatusFileSize
new781 bytes

Yes, you are correct about the bootstrap, did not think of what I missed in the debug output. Anyhow, attaching patch with a little warning about the bootstrap if somebody want that setting anyhow,