diff options
author | Magnus Ahltorp <map@kth.se> | 2014-10-24 15:32:58 +0200 |
---|---|---|
committer | Magnus Ahltorp <map@kth.se> | 2014-10-24 15:36:36 +0200 |
commit | b968cb1330ecb13f26e35d948c0511882b89ab2a (patch) | |
tree | eecbb90a07b7b932d0c957ee04d8b0c57e15fb19 /src/db.erl | |
parent | 729c7410504252d7c33e8fd2f43e662725186960 (diff) |
Added lager for logging
Diffstat (limited to 'src/db.erl')
-rw-r--r-- | src/db.erl | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -160,7 +160,9 @@ handle_call({add, {LeafHash, EntryHash, Data, Index}}, _From, State) -> {reply, ok, State}; handle_call({add, {LeafHash, Data}}, _From, State) -> + lager:debug("add leafhash ~p", [LeafHash]), ok = perm:ensurefile(entry_root_path(), LeafHash, Data), + lager:debug("leafhash ~p added", [LeafHash]), {reply, ok, State}; handle_call({add_entryhash, {LeafHash, EntryHash}}, _From, State) -> |