• Resolved Koorosh

    (@koorosh14)


    Hi there, thank you for this great plugin.

    I’ve recently enabled WP_DEBUG to debug an issue with one of our internal tools, a couple hours later, I saw that my debug.log file is filled with “MCP OBSERVABILITY” logs!

    Can you please disable these event logs?

    Thank you very much

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Miguel

    (@miguelrm)

    Hello @koorosh14,

    Thank you for contacting support.

    Our plugin doesn’t emit that event on the websites where it’s installed. It’s likely that some other tool or plugin is emitting those events. The most likely culprit is the WordPress.com MCP server but it’s worth checking if any other plugin installed has that even by looking in your installation using the following command:
    grep -rn "MCP][OBSERVABILITY" wp-content/

    Don’t hesitate to get in touch if you have any questions about our plugin.

    Thread Starter Koorosh

    (@koorosh14)

    Hello again, thank you for answering.

    The reason I asked my question here was because I saw you’re using this vendor package: seo-by-rank-math/vendor/wordpress/mcp-adapter/includes/Infrastructure/Observability/ConsoleObservabilityHandler.php

    But you’re right, I copied the website on a staging environment and disabled Rank Math there, but the MCP events are still logging. So, it’s not coming from you plugin.

    Sorry for not researching before posting

    Plugin Support Rakibuzzaman Siam

    (@rakibuzzamansiam1)

    Hello @koorosh14,

    No problem at all, and thank you for taking the time to test this on a staging site and report back.

    To clarify the file you spotted, Rank Math bundles the WordPress MCP Adapter package, so that observability handler ships as part of the vendor library. However, we do not enable or call it, which is why Rank Math itself does not write those MCP OBSERVABILITY entries to debug.log, exactly as your staging test confirmed.

    As mentioned earlier, the WordPress.com MCP server or another plugin using the same adapter is the most likely source, and disabling MCP there should stop the logging.

    If anything else comes up with Rank Math, please feel free to start a new thread and we will be happy to help.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.