summaryrefslogtreecommitdiff
path: root/items.c
diff options
context:
space:
mode:
Diffstat (limited to 'items.c')
-rw-r--r--items.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/items.c b/items.c
index ef73815..c02dcb4 100644
--- a/items.c
+++ b/items.c
@@ -854,7 +854,7 @@ static int lru_pull_tail(const int orig_id, const int cur_lru,
if ((search->it_flags & ITEM_FETCHED) == 0) {
itemstats[id].evicted_unfetched++;
}
- if (l->f.log_evictions)
+ if (l->eflags & LOG_EVICTIONS)
logger_log(l, LOGGER_EVICTION, search);
do_item_unlink_nolock(search, hv);
removed++;