How to get the feeds log entry from hook_feeds_after_import
From hook_feeds_after_import($source), I have access to $source-&gt;imported, which is the timestamp value in feeds_log.request_time. So I have

$result = db_query('SELECT message, variables FROM {feeds_log} WHERE request_time = :imported',
    array(':imported' =&gt; $source-&gt;imported) );