Title: Plugin generates debug log even when debug is turned off
Last modified: July 26, 2024

---

# Plugin generates debug log even when debug is turned off

 *  Resolved [schevetosti](https://wordpress.org/support/users/schevetosti/)
 * (@schevetosti)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/plugin-generates-debug-log-even-when-debug-is-turned-off/)
 * Since the last update this plugin is generating a debug log. We got notified 
   by our website monitor.
 * The log says;
 *     ```wp-block-code
       07/25/24 07:20:51 - ❌ Failed to connect Memcached server!07/25/24 07:21:52 - ❌ Failed to connect Memcached server!07/25/24 07:21:52 - ❌ Failed to connect Memcached server!07/25/24 07:21:52 - ❌ Failed to connect Memcached server!07/25/24 07:23:53 - ❌ Failed to connect Memcached server!07/25/24 07:23:53 - ❌ Failed to connect Memcached server!07/25/24 07:23:53 - ❌ Failed to connect Memcached server!07/25/24 07:25:54 - ❌ Failed to connect Memcached server!07/25/24 07:25:54 - ❌ Failed to connect Memcached server!07/25/24 07:25:54 - ❌ Failed to connect Memcached server!07/25/24 07:27:42 - ❌ Failed to connect Memcached server!07/25/24 07:27:42 - ❌ Failed to connect Memcached server!07/25/24 07:27:42 - ❌ Failed to connect Memcached server!07/25/24 07:27:55 - ❌ Failed to connect Memcached server!07/25/24 07:27:55 - ❌ Failed to connect Memcached server!07/25/24 07:27:55 - ❌ Failed to connect Memcached server!07/25/24 07:28:53 - ❌ Failed to connect Memcached server!07/25/24 07:28:53 - ❌ Failed to connect Memcached server!07/25/24 07:28:54 - ❌ Failed to connect Memcached server!07/25/24 07:28:56 - ❌ Failed to connect Memcached server!07/25/24 07:28:56 - ❌ Failed to connect Memcached server!07/25/24 07:29:56 - ❌ Failed to connect Memcached server!
       ```
   
 * And some other litespeed lines.
 * Toolbox -> Debug Settings -> Debug Log is off
 * I don’t want this log to be generated.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/plugin-generates-debug-log-even-when-debug-is-turned-off/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-generates-debug-log-even-when-debug-is-turned-off/page/2/?output_format=md)

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/plugin-generates-debug-log-even-when-debug-is-turned-off/#post-17914556)
 * please disable object cache, since you can not connect to Memcached anyway.
 *  Thread Starter [schevetosti](https://wordpress.org/support/users/schevetosti/)
 * (@schevetosti)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/plugin-generates-debug-log-even-when-debug-is-turned-off/#post-17917989)
 * [@qtwrk](https://wordpress.org/support/users/qtwrk/) Thanks for your reply.
 * I apologize if my previous message was unclear. Before the last update, either
   Memcache or the Toolbox -> Debug Settings -> Debug Log setting was functioning
   correctly.
 * However, since the update, I’ve noticed numerous similar posts on this forum,
   and in each case, you seem to dismiss the issue. It seems highly unlikely that
   many random website owners coincidentally encountered the same problem simultaneously.
   This suggests that something in the plugin update may have caused this issue.
 * It’s also likely that the posts we’re seeing are from users with external monitoring
   enabled. Others might only realize there’s a problem once their disk space is
   exhausted.
 * Please reconsider and re-evaluate the last update. Thank you.
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/plugin-generates-debug-log-even-when-debug-is-turned-off/#post-17917997)
 * please do me a full screenshot on Cache ->Object Cache
 *  Thread Starter [schevetosti](https://wordpress.org/support/users/schevetosti/)
 * (@schevetosti)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/plugin-generates-debug-log-even-when-debug-is-turned-off/#post-17918117)
 * Hereby: [https://imgur.com/a/4awitR5](https://imgur.com/a/4awitR5)
 * I did turn of tje object cache as you requested.
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/plugin-generates-debug-log-even-when-debug-is-turned-off/#post-17918182)
 * it still generates log with object cache off ? please check the timestamp on 
   the log , verify it is generated after you turned it off.
 *  Thread Starter [schevetosti](https://wordpress.org/support/users/schevetosti/)
 * (@schevetosti)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/plugin-generates-debug-log-even-when-debug-is-turned-off/#post-17921383)
 * [@qtwrk](https://wordpress.org/support/users/qtwrk/) The debug log is no longer
   being generated, but that’s not the core issue. The recent update either broke
   Memcached or enabled logging even when the debug log setting is turned off.
 * Before the latest update, there was no debug log being generated with object 
   cache enabled and debug log set to off. I am using the Digital Ocean pre-configured
   LiteSpeed image.
 *  [ottomek](https://wordpress.org/support/users/ottomek/)
 * (@ottomek)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/plugin-generates-debug-log-even-when-debug-is-turned-off/#post-17923543)
 * I’m getting this notice in a debug file too. And debug and debug log are disabled
   in wp-config.
 * I still have Object Cache on and the status show Memcached Extension: Enabled.
 *  Plugin Support [litetim](https://wordpress.org/support/users/litetim/)
 * (@litetim)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/plugin-generates-debug-log-even-when-debug-is-turned-off/#post-17924137)
 * [@schevetosti](https://wordpress.org/support/users/schevetosti/) please create
   a ticket by sending a email to: `support at [litespeedtech.com](http://litespeedtech.com/)`
   
   There were some changes linked to Object cache. By sending this email our dev
   team will look into.
 *  [ottomek](https://wordpress.org/support/users/ottomek/)
 * (@ottomek)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/plugin-generates-debug-log-even-when-debug-is-turned-off/#post-17967608)
 * [@schevetosti](https://wordpress.org/support/users/schevetosti/) Did you receive
   any solutions when you submitted a help ticket?
 *  Plugin Support [litetim](https://wordpress.org/support/users/litetim/)
 * (@litetim)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/plugin-generates-debug-log-even-when-debug-is-turned-off/#post-17967680)
 * [@ottomek](https://wordpress.org/support/users/ottomek/) 
   The memcache debug 
   will appear only if Litespeed debug is turned on: [https://docs.litespeedtech.com/lscache/lscwp/toolbox/#debug-log](https://docs.litespeedtech.com/lscache/lscwp/toolbox/#debug-log)
 *  [ottomek](https://wordpress.org/support/users/ottomek/)
 * (@ottomek)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/plugin-generates-debug-log-even-when-debug-is-turned-off/#post-17970211)
 * [@litetim](https://wordpress.org/support/users/litetim/) starting 7/22/24 the
   sites of mine using Litespeed all have a debug log appearing with ../wp-content/
   debug.log many entries for:
   Failed to connect Memcached server!
 * Toolbox -> Debug Settings -> Debug Log is “OFF”
   wp-config: ( ‘log_errors’, ‘Off’);
   and ( ‘WP_DEBUG’, false );
 * Litespeed >> **Object Cache**
   StatusMemcached Extension: EnabledRedis Extension:
   EnabledConnection Test: Failed
 * Maybe it would be better if I open a support ticket with the email you provided
   above?
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/plugin-generates-debug-log-even-when-debug-is-turned-off/#post-17970230)
 * yes please
 *  Plugin Support [litetim](https://wordpress.org/support/users/litetim/)
 * (@litetim)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/plugin-generates-debug-log-even-when-debug-is-turned-off/#post-17970556)
 * Do you have option: [https://docs.litespeedtech.com/lscache/lscwp/cache/#object-cache](https://docs.litespeedtech.com/lscache/lscwp/cache/#object-cache)
   turned ON?
    -  This reply was modified 1 year, 8 months ago by [litetim](https://wordpress.org/support/users/litetim/).
      Reason: spelling fix
 *  [ottomek](https://wordpress.org/support/users/ottomek/)
 * (@ottomek)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/plugin-generates-debug-log-even-when-debug-is-turned-off/#post-17972252)
 * Hi,
 * Good news from my end. I opened a support ticket with my web host (A2 Hosting)
   and they confirmed that there was a misconfiguration on the web hosting server._“
   After reviewing your site’s configuration, it appears that Memcached was set 
   up incorrectly. Our shared and reseller servers use a socket for Redis and Memcached,
   but your configuration was set to use localhost on port 11211”_
 * So they updated some settings and now Litespeed Object Cache is working and no
   more debug log errors appearing.
 *  Plugin Support [litetim](https://wordpress.org/support/users/litetim/)
 * (@litetim)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/plugin-generates-debug-log-even-when-debug-is-turned-off/#post-17972430)
 * [@ottomek](https://wordpress.org/support/users/ottomek/) Good that the issue 
   was resolved

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/plugin-generates-debug-log-even-when-debug-is-turned-off/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-generates-debug-log-even-when-debug-is-turned-off/page/2/?output_format=md)

The topic ‘Plugin generates debug log even when debug is turned off’ is closed to
new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 16 replies
 * 6 participants
 * Last reply from: [Claudiu T.](https://wordpress.org/support/users/claudiu-t/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/plugin-generates-debug-log-even-when-debug-is-turned-off/page/2/#post-17995341)
 * Status: resolved