Remove some debugging verbosity

This commit is contained in:
Scott Lystig Fritchie 2015-10-14 12:50:10 +09:00
parent 8cd41a7bf2
commit 6dbf52db6f

View file

@ -554,7 +554,7 @@ write_chunk2(Sock, EpochID, File0, Offset, Chunk0) ->
{Tag, CS} = machi_util:unmake_tagged_csum(ChunkCSum),
{Chk, Tag, CS}
end,
io:format(user, "\n~s LINE ~w eid ~w File ~w Offset ~w Chunk0 ~w\n", [?MODULE, ?LINE, EpochID, File, Offset, Chunk0]),
%% io:format(user, "\n~s LINE ~w eid ~w File ~w Offset ~w Chunk0 ~w\n", [?MODULE, ?LINE, EpochID, File, Offset, Chunk0]),
Req = machi_pb_translate:to_pb_request(
ReqID,
{low_write_chunk, EpochID, File, Offset, Chunk, CSum_tag, CSum}),
@ -709,7 +709,7 @@ put(xxx, Sock),
end
catch
_X:_Y ->
io:format(user, "DBG Whoa ~w w_connect port ~w sock ~w err ~w ~w\n", [time(), Port, get(xxx), _X, _Y]),
%% io:format(user, "DBG Whoa ~w w_connect port ~w sock ~w err ~w ~w\n", [time(), Port, get(xxx), _X, _Y]),
undefined
end.