diff options
author | Vincent Ambo <tazjin@google.com> | 2020-05-19T00·02+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-05-19T00·04+0100 |
commit | 505b6b044b132b28e1501491bcfe6bd68ca1989e (patch) | |
tree | 1c1ed8a195f5c94050754316c842a3f8623c6cbe /third_party/nix/src/libstore/nar-info-disk-cache.cc | |
parent | ce99ba42df493bb521f47789fb8902d7693c5b9c (diff) |
refactor(3p/nix/libstore): Replace logging.h with glog r/756
Diffstat (limited to 'third_party/nix/src/libstore/nar-info-disk-cache.cc')
-rw-r--r-- | third_party/nix/src/libstore/nar-info-disk-cache.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/third_party/nix/src/libstore/nar-info-disk-cache.cc b/third_party/nix/src/libstore/nar-info-disk-cache.cc index 2121e89387b2..cbd1f5a12ab2 100644 --- a/third_party/nix/src/libstore/nar-info-disk-cache.cc +++ b/third_party/nix/src/libstore/nar-info-disk-cache.cc @@ -1,4 +1,5 @@ #include "nar-info-disk-cache.hh" +#include <glog/logging.h> #include <sqlite3.h> #include "globals.hh" #include "sqlite.hh" @@ -126,8 +127,8 @@ class NarInfoDiskCacheImpl : public NarInfoDiskCache { now - settings.ttlPositiveNarInfoCache) .exec(); - debug("deleted %d entries from the NAR info disk cache", - sqlite3_changes(state->db)); + DLOG(INFO) << "deleted " << sqlite3_changes(state->db) + << " entries from the NAR info disk cache"; SQLiteStmt( state->db, |