Purge errors aren't returning error messages because of a token mismatch. In purge.inc:

      watchdog(
        'purge',
        '!purge_errors_count errors have been encountered when purging these URLs. !purge_log',
        array('!purge_errors_count' => count($purge_errors), '@purge_log' => expire_print_r($purge_log)),
        $severity = WATCHDOG_ERROR
      );

The !purge_log should be @purge_log.

Comments

SqyD’s picture

Thanks chhay for your interest in this module and the bugfix. It will be in the next release.

I would love to hear if you guys are using this module in production and if not how I can make it better so you will. (for personal ego boost purposes ;-)

djbobbydrake’s picture

SqyD, thanks for the module. We're using this module in an experimental branch, but I will definitely reach out to you and let you know when it's made it into production.

SqyD’s picture

Status: Active » Closed (fixed)

Thanks again for the fix. It's now in the 6.x-1.4 release.

djbobbydrake’s picture

No problem. Thank you for the module. We're currently using it now on Economist.com, along with the Expire module, though we did have to patch in a few places.

jaydub’s picture

Version: 6.x-1.3 » 6.x-1.x-dev
Status: Closed (fixed) » Active

The fix that was committed actually didn't address the issue. Previous to this commit there was 1 of 2 watchdog messages with a mismatch between the placeholder type. The committed fix actually made both of the 2 watchdog messages mismatched. Since this issue was closed I didn't see it but I have a patch in #1362990: Bug in watchdog() call in purge_logging()

SqyD’s picture

Status: Active » Closed (fixed)

The patches provided by jaydub in #1362990: Bug in watchdog() call in purge_logging() have been committed.