Skip to content
This repository has been archived by the owner on May 24, 2018. It is now read-only.

Commit

Permalink
Remove a dignostic log.
Browse files Browse the repository at this point in the history
  • Loading branch information
jinxuunity committed Jul 12, 2017
1 parent 0c2f057 commit 86160f2
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,8 @@ public async Task<HttpResponseMessage> GetLastXBuilds(string builder, int X)
{
SetContentType(ContentType.Json);
var url = $"/json/builders/{builder}/builds?" + RepeatQuery("select={0}", X);
Log.Information($"Read from {client.BaseAddress + url}");
Log.Information($"Read the client headers, which contains {client.DefaultRequestHeaders.Count()} items");
foreach (var item in client.DefaultRequestHeaders)
{
Log.Information($"Header of Client: {item.Key} : {item.Value}");
}
HttpResponseMessage response = await client.GetAsync(url,HttpCompletionOption.ResponseContentRead);
Log.Information($"Read from {client.BaseAddress + url}");
HttpResponseMessage response = await client.GetAsync(url);
return response;
}

Expand Down

0 comments on commit 86160f2

Please sign in to comment.