changing logging level

This commit is contained in:
Athou
2013-05-21 14:44:55 +02:00
parent 36960344e8
commit a98ddc185a
2 changed files with 6 additions and 5 deletions

View File

@@ -38,7 +38,7 @@ public class SubscriptionHandler {
publicUrl = publicUrl.substring(0, publicUrl.length() - 1);
}
log.info("sending new pubsub subscription to {} for {}", hub, topic);
log.debug("sending new pubsub subscription to {} for {}", hub, topic);
HttpPost post = new HttpPost(hub);
List<NameValuePair> nvp = Lists.newArrayList();
@@ -65,7 +65,7 @@ public class SubscriptionHandler {
throw new Exception("Unexpected response code: " + code + " "
+ response.getStatusLine().getReasonPhrase());
}
log.info("subscribed to {} for {}", hub, topic);
log.debug("subscribed to {} for {}", hub, topic);
} catch (Exception e) {
log.error("Could not subscribe to {} for {} : {}", hub, topic,
e.getMessage(), e);