Skip to content

Commit

Permalink
Removes all GA messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
bghill committed Mar 12, 2015
1 parent 3b214b2 commit 7e6c7c9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/java/water/ga/GoogleAnalytics.java
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@ public GoogleAnalyticsResponse post(GoogleAnalyticsRequest request) {
try {
httpResponse = (BasicHttpResponse) httpClient.execute(httpPost);
} catch (ClientProtocolException e) {
Log.trace("GA connectivity had a problem or the connectivity was aborted. "+e.toString());
//Log.trace("GA connectivity had a problem or the connectivity was aborted. "+e.toString());
} catch (IOException e) {
Log.trace("GA connectivity suffered a protocol error. "+e.toString());
//Log.trace("GA connectivity suffered a protocol error. "+e.toString());
}

//Log.debug("GA response: " +httpResponse.toString());
Expand All @@ -183,9 +183,9 @@ public GoogleAnalyticsResponse post(GoogleAnalyticsRequest request) {

} catch (Exception e) {
if (e instanceof UnknownHostException) {
Log.trace("Coudln't connect to GA. Internet may not be available. " + e.toString());
//Log.trace("Coudln't connect to GA. Internet may not be available. " + e.toString());
} else {
Log.trace("Exception while sending the GA tracker request: " + request +". "+ e.toString());
//Log.trace("Exception while sending the GA tracker request: " + request +". "+ e.toString());
}
}

Expand Down Expand Up @@ -295,7 +295,7 @@ public GoogleAnalyticsResponse call() throws Exception {
return post(request);
}
} catch (Exception e) {
Log.trace("Request Provider (" + requestProvider + ") thrown exception " + e.toString() + " and hence nothing is posted to GA.");
//Log.trace("Request Provider (" + requestProvider + ") thrown exception " + e.toString() + " and hence nothing is posted to GA.");
}

return null;
Expand Down

0 comments on commit 7e6c7c9

Please sign in to comment.