`$this` should be `$log` in _wpsc_action_update_product_stats()