summaryrefslogtreecommitdiff
path: root/logger.c
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2016-12-30 11:41:43 -0800
committerdormando <dormando@rydia.net>2016-12-30 17:26:16 -0800
commitbb174641e09feaafe80d86514375a552a5b47780 (patch)
treeb2c93378eae840db7b0d4b86d1b3163f565355de /logger.c
parent1223b837527b7cbb110499aeb2f4dea25b58b236 (diff)
downloadmemcached-bb174641e09feaafe80d86514375a552a5b47780.tar.gz
tune crawler logger, fix crawler watermark
should be looking for 1% of potential reclaims, not 1% of all the items it saw. Otherwise could be wedged into doing nothing.
Diffstat (limited to 'logger.c')
-rw-r--r--logger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/logger.c b/logger.c
index dfb89b6..7d8df54 100644
--- a/logger.c
+++ b/logger.c
@@ -50,7 +50,7 @@ static const entry_details default_entries[] = {
[LOGGER_ITEM_GET] = {LOGGER_ITEM_GET_ENTRY, 512, LOG_FETCHERS, NULL},
[LOGGER_ITEM_STORE] = {LOGGER_ITEM_STORE_ENTRY, 512, LOG_MUTATIONS, NULL},
[LOGGER_CRAWLER_STATUS] = {LOGGER_TEXT_ENTRY, 512, LOG_SYSEVENTS,
- "lru_crawler=%d low_mark=%llu possible_reclaims=%llu since_run=%u next_run=%d now=%d time_elapsed=%u examined=%llu reclaimed=%llu"
+ "lru_crawler=%d low_mark=%llu next_reclaims=%llu since_run=%u next_run=%d elapsed=%u examined=%llu reclaimed=%llu"
}
};