Skip to content
CHADA Store

Reading the WooFraudGuard log

WooFraudGuard writes to a dedicated log channel via WordPress\’s native logger. You can read it through WooCommerce\’s Status → Logs view (no separate viewer needed).

Where to find it

  • wp-admin: WooCommerce → Status → Logs, then pick the most recent file starting with woofraudguard-.
  • Filesystem: wp-content/uploads/wc-logs/woofraudguard-YYYY-MM-DD-{hash}.log

What\’s logged

  • Every engine exception (rule that threw, the order id, stack trace).
  • License-server requests and responses.
  • Webhook receipts (signature verification result, recorded chargeback details).
  • MaxMind, Groq, OpenAI API failures.

Successful scoring is not logged — only exceptions and noteworthy events. The log stays small even on high-volume stores.

Increasing verbosity

For deep debugging, set WOOFRAUDGUARD_DEBUG to true in wp-config.php:

define( \'WOOFRAUDGUARD_DEBUG\', true );

This logs every rule evaluation (rule key, score, reason). Useful for tracing why a specific order scored what it scored. Remember to turn it off in production — the log will balloon.