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; }