Reduce verbosity

This commit is contained in:
Kresten Krab Thorup 2012-01-07 00:27:20 +01:00
parent 120609f8ac
commit 5b4a4551a9

View file

@ -69,7 +69,7 @@ open_levels(Dir) ->
{?TOP_LEVEL, ?TOP_LEVEL},
Files),
error_logger:info_msg("found files ... {~p,~p}~n", [MinLevel, MaxLevel]),
% error_logger:info_msg("found level files ... {~p,~p}~n", [MinLevel, MaxLevel]),
%% remove old nursery file
file:delete(filename:join(Dir,"nursery.data")),
@ -103,8 +103,8 @@ handle_cast(Info,State) ->
%% premature delete -> cleanup
terminate(Reason,State) ->
error_logger:info_msg("got terminate(~p,~p)~n", [Reason,State]),
terminate(_Reason,_State) ->
% error_logger:info_msg("got terminate(~p,~p)~n", [Reason,State]),
% flush_nursery(State),
ok.
@ -137,7 +137,6 @@ handle_call(close, _From, State) ->
{stop, normal, ok, State2}.
do_put(Key, Value, State=#state{ nursery=Tree }) ->
Tree2 = gb_trees:enter(Key, Value, Tree),
TreeSize = gb_trees:size(Tree2),