• Resolved pediaf

    (@pediaf)


    I’m having problems with my site using the plugin, I get hundreds of debug lines in the wc-logs every day, which is causing a resource overload, since the folder is over 1GB. This is an example (first lines) of what appears in each log.

    2025-02-04T01:06:38+00:00 DEBUG Automattic\WooCommerce\GoogleListingsAndAds\Product\WCProductAdapter::map_product_categories Product category (ID: 1489): ["Uniform"].
    2025-02-04T01:06:41+00:00 DEBUG Automattic\WooCommerce\GoogleListingsAndAds\Product\ProductSyncer::update_by_batch_requests Submitted 1 products:
    [{"woocommerce_id":1495,"google_id":"online:es:CO:gla_1495"}]
    2025-02-04T01:06:42+00:00 DEBUG Automattic\WooCommerce\GoogleListingsAndAds\Product\WCProductAdapter::map_product_categories Product category (ID: 1489): ["Uniform"].
    2025-02-04T01:06:42+00:00 DEBUG Automattic\WooCommerce\GoogleListingsAndAds\Product\WCProductAdapter::map_product_categories Product category (ID: 1489): ["Uniform"].
    2025-02-04T01:06:42+00:00 DEBUG Automattic\WooCommerce\GoogleListingsAndAds\Product\WCProductAdapter::map_product_categories Product category (ID: 1489): ["Uniform"].
    2025-02-04T01:06:42+00:00 DEBUG Automattic\WooCommerce\GoogleListingsAndAds\Product\WCProductAdapter::map_product_categories Product category (ID: 1489): ["Uniform"].
    2025-02-04T01:06:42+00:00 DEBUG Automattic\WooCommerce\GoogleListingsAndAds\Product\WCProductAdapter::map_product_categories Product category (ID: 1489): ["Uniform"].
    2025-02-04T01:06:42+00:00 DEBUG Automattic\WooCommerce\GoogleListingsAndAds\Product\WCProductAdapter::map_product_categories Product category (ID: 1489): ["Uniform"].
    2025-02-04T01:06:42+00:00 DEBUG Automattic\WooCommerce\GoogleListingsAndAds\Product\WCProductAdapter::map_product_categories Product category (ID: 1489): ["Uniform"].
    2025-02-04T01:06:42+00:00 DEBUG Automattic\WooCommerce\GoogleListingsAndAds\Product\WCProductAdapter::map_product_categories Product category (ID: 1489): ["Uniform"].
    2025-02-04T01:06:42+00:00 DEBUG Automattic\WooCommerce\GoogleListingsAndAds\Product\WCProductAdapter::map_product_categories Product category (ID: 1489): ["Uniform"].
    2025-02-04T01:06:45+00:00 DEBUG Automattic\WooCommerce\GoogleListingsAndAds\Product\ProductSyncer::update_by_batch_requests Submitted 9 products:
    [{"woocommerce_id":1492,"google_id":"online:es:CO:gla_1492"},{"woocommerce_id":1493,"google_id":"online:es:CO:gla_1493"},{"woocommerce_id":1494,"google_id":"online:es:CO:gla_1494"},{"woocommerce_id":1496,"google_id":"online:es:CO:gla_1496"},{"woocommerce_id":1497,"google_id":"online:es:CO:gla_1497"},{"woocommerce_id":1498,"google_id":"online:es:CO:gla_1498"},{"woocommerce_id":1499,"google_id":"online:es:CO:gla_1499"},{"woocommerce_id":1500,"google_id":"online:es:CO:gla_1500"},{"woocommerce_id":1501,"google_id":"online:es:CO:gla_1501"}]
    2025-02-04T01:06:45+00:00 DEBUG Automattic\WooCommerce\GoogleListingsAndAds\Product\WCProductAdapter::map_product_categories Product category (ID: 1489): ["Uniform"].
    2025-02-04T01:06:46+00:00 DEBUG Automattic\WooCommerce\GoogleListingsAndAds\Product\ProductSyncer::update_by_batch_requests Submitted 1 products:
    [{"woocommerce_id":1497,"google_id":"online:es:CO:gla_1497"}]
    2025-02-04T01:06:46+00:00 DEBUG Automattic\WooCommerce\GoogleListingsAndAds\Product\WCProductAdapter::map_product_categories Product category (ID: 1489): ["Uniform"].
    2025-02-04T01:06:47+00:00 DEBUG Automattic\WooCommerce\GoogleListingsAndAds\Product\ProductSyncer::update_by_batch_requests Submitted 1 products:
    [{"woocommerce_id":1501,"google_id":"online:es:CO:gla_1501"}]

    Can you help me identify the problem?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello pediaf,

    Thank you for your reply.

    I understand you’re seeing hundreds of debug lines in the wc-logs daily, leading to resource overload as the folder exceeds 1GB.

    Could you share the location of this log file?
    I checked the log and it does not show any errors or warnings.
    Do you have any plugin or code to log the backend activity of WordPress?

    To help you further, please share your site’s System Status Report with me.
    You can paste it into https://pastebin.com and share the link here.

    Looking forward to your response. ??

    Thread Starter pediaf

    (@pediaf)

    Hi, thank you very much for your answer, yes there are several .log files and each one with hundreds of lines, you can see a sample here https://ibb.co/Psh7Mcgv

    The log file path is wp-content > uploads > wc-logs

    I have a monitoring plugin “WP Activity Log” installed and I assume it is the one that is generating those logs, but my question is precisely why I did not see a clear error in the log.

    I leave you the pastebin https://pastebin.com/hXhF9iMH

    Plugin Support Moses M. (woo-hc)

    (@mosesmedh)

    Hi @pediaf,

    I’ll look back at your initial request and go over the log you shared. Based on the entries, it seems the WooCommerce Google Listings & Ads plugin is syncing products, but there’s repeated logging for product category mapping related to ID 1489 (“Uniform”).

    First, are you experiencing any issues syncing your products to Google? Also, could you check WooCommerce > Status > Logs for any fatal errors or plugin-related issues?

    If there are no sync issues or fatal errors, it looks like WP Activity Log is recording all activities on your site, including background product syncing, which isn’t necessarily a problem.

    Since the plugin is generating these logs, you can either remove the plugin or delete the logs as they appear if you still need it for monitoring your site.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.