WPIntell

Source evidence

TaxJar _log() writes to debug.log unconditionally, no toggle

WooCommerce Tax (formerly WooCommerce Shipping & Tax) · support · 2026-03-17T23:44:00+00:00

complaintsentiment
mediumseverity
0.93relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 34 rows with source links

14.7% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

29 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
twigandolive unresolved
Plugin: WooCommerce Tax (formerly WooCommerce Shipping & Tax) File: classes/class-wc-connect-taxjar-integration.php Environment: WordPress 6.x, WooCommerce 9.x, PHP 8.4, MariaDB 10.11, Cloudways The _log() method (line 443) writes to the WordPress debug.log unconditionally. There are approximately 25 log calls throughout the TaxJar integration class that fire on every tax calculation, including routine messages like “:::: TaxJar Plugin requested ::::” (line 1538), “:::: TaxJar API called ::::” (line 1579), full API request/response body dumps, and tax rate lookup details. The debug toggle in WooCommerce Tax settings does not gate these calls. The _log() method on line 443 passes every message straight through to $this->logger->log() with no conditional check. This floods debug.log on active WooCommerce stores and makes it difficult to identify actual errors during server troubleshooting. Requested fix: Add a conditional check in _log() that respects the existing debug setting so informational logging only fires when explicitly enabled. Error-level logging via _error() should remain always-on since those messages (missing countries, bad zip formats, failed API responses) are genuinely useful. Hi @twigandolive , Thanks so much for taking the time to flag this and for sharing a potential fix. I know how frustrating unexpected logging behavior can be, especially when it fills up your debug file for no good reason. I went ahead and tested this on my side as well, and I was able to reproduce the exact issue you’re seeing. Here’s a quick screen capture showing the behavior on a clean setup: https://share.zight.com/JruRb5pY . It does appear to be a bug in the current implementation. I’m checking in with the team to get full confirmation, and once the issue is officially logged, I’ll circle back here with an update so you’re kept in the loop. Hang in there, and thanks again for bringing this to our attention. Hi again @twigandolive , Thanks for being so patient. We’ve reported the issue internal so someone from the tax team will take a look. We don’t have an ETA on when the fix will be released. For now, I’d say ignore it in the logs as it doesn’t affect the functionality of the extension, otherwise rollback to the previous version and see if that does the trick (temporarily). I hope that helps. Let us know if you need anything else. This reply was modified 2 months, 1 week ago by Frank Remmy (woo-hc) .

Comments

2 shown
Frank Remmy (woo-hc) 2026-03-18T02:43:00+00:00

Hi @twigandolive , Thanks so much for taking the time to flag this and for sharing a potential fix. I know how frustrating unexpected logging behavior can be, especially when it fills up your debug file for no good reason. I went ahead and tested this on my side as well, and I was able to reproduce the exact issue you’re seeing. Here’s a quick screen capture showing the behavior on a clean setup: https://share.zight.com/JruRb5pY . It does appear to be a bug in the current implementation. I’m checking in with the team to get full confirmation, and once the issue is officially logged, I’ll circle back here with an update so you’re kept in the loop. Hang in there, and thanks again for bringing this to our attention.

Frank Remmy (woo-hc) 2026-03-20T15:07:00+00:00

Hi again @twigandolive , Thanks for being so patient. We’ve reported the issue internal so someone from the tax team will take a look. We don’t have an ETA on when the fix will be released. For now, I’d say ignore it in the logs as it doesn’t affect the functionality of the extension, otherwise rollback to the previous version and see if that does the trick (temporarily). I hope that helps. Let us know if you need anything else. This reply was modified 2 months, 1 week ago by Frank Remmy (woo-hc) .