From 0a207c68ba9b9efc14728c5ee6433c1536eb0cba Mon Sep 17 00:00:00 2001 From: Patrick Qian Date: Wed, 5 May 2021 16:49:10 +0200 Subject: [PATCH] Revert "add lru log" --- lru.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lru.h b/lru.h index 9588c51..0fdb501 100644 --- a/lru.h +++ b/lru.h @@ -29,7 +29,6 @@ www.navitia.io */ #include "functions.h" -#include "logger.h" #include #include @@ -77,8 +76,6 @@ class Lru { mutable size_t nb_cache_miss = 0; mutable size_t nb_calls = 0; - mutable log4cplus::Logger logger = log4cplus::Logger::getInstance(LOG4CPLUS_TEXT("raptor")); - std::vector keys() const { auto& list = cache.template get<0>(); std::vector result; @@ -118,7 +115,6 @@ class Lru { // older ones) until the requested size while (list.size() > max_cache) { list.pop_back(); - LOG4CPLUS_INFO(logger, "Invalidate lru cache"); } return ins.first->second; }