Repository: marmotta Updated Branches: refs/heads/develop ba1168d25 -> 299272acf
debug logging Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/299272ac Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/299272ac Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/299272ac Branch: refs/heads/develop Commit: 299272acfd02911e511a68a07c7213be50ff2ac1 Parents: ba1168d Author: Sebastian Schaffert <[email protected]> Authored: Sat Dec 19 16:39:19 2015 +0100 Committer: Sebastian Schaffert <[email protected]> Committed: Sat Dec 19 16:39:19 2015 +0100 ---------------------------------------------------------------------- libraries/ostrich/backend/persistence/leveldb_persistence.cc | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/marmotta/blob/299272ac/libraries/ostrich/backend/persistence/leveldb_persistence.cc ---------------------------------------------------------------------- diff --git a/libraries/ostrich/backend/persistence/leveldb_persistence.cc b/libraries/ostrich/backend/persistence/leveldb_persistence.cc index 1157869..f29895c 100644 --- a/libraries/ostrich/backend/persistence/leveldb_persistence.cc +++ b/libraries/ostrich/backend/persistence/leveldb_persistence.cc @@ -478,12 +478,14 @@ std::unique_ptr<LevelDBPersistence::StatementIterator> LevelDBPersistence::GetSt }; if (query.NeedsFilter()) { + DLOG(INFO) << "Retrieving statements with filter."; return std::unique_ptr<StatementIterator>( new util::FilteringIterator<Statement>( new StatementRangeIterator( db->NewIterator(leveldb::ReadOptions()), query.MinKey(), query.MaxKey()), [&pattern](const Statement& stmt) -> bool { return Matches(pattern, stmt); })); } else { + DLOG(INFO) << "Retrieving statements without filter."; return std::unique_ptr<StatementIterator>( new StatementRangeIterator( db->NewIterator(leveldb::ReadOptions()), query.MinKey(), query.MaxKey()));
