With debugging enabled all logs are of type error (8.x-2.6)

Created on 12 July 2024, about 2 months ago
Updated 27 July 2024, about 1 month ago

Problem/Motivation

Since version 8.x-2.6, if you have the debug flag enabled and use the memcached extension. All the records that will appear in the log will be of type error when they may not be, e.g.:

[error] MemcachedDriver::set() error key=discovery%3A-last_write_timestamp_cache_discovery error=[0]SUCCESS

If you disable debugging mode, records no longer appear in the log.

Steps to reproduce

1. Use the memcached extension.

2. Activate the debug in settings.php:

$settings['memcache']['debug'] = TRUE;

3. Make sure the Memcache integration already works with 8.x-2.5. After that, update to 8.x-2.6 and clear the cache.

4. The records in the log will appear as errors.

Proposed resolution

In the MecachedDriver::set() method separate the bad results with the debug one.

πŸ› Bug report
Status

Postponed: needs info

Version

2.6

Component

Code

Created by

πŸ‡¨πŸ‡±Chile mnico Santiago, Chile

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024