Commit cf2a9eee by Johannes Edmeier

Don't log the full response body after successful registration.

fixes #590 (new client - old server)
parent ad0a38c7
......@@ -70,9 +70,9 @@ public class ApplicationRegistrator {
if (response.getStatusCode().equals(HttpStatus.CREATED)) {
if (registeredId.compareAndSet(null, response.getBody().get("id").toString())) {
LOGGER.info("Application registered itself as {}", response.getBody());
LOGGER.info("Application registered itself as {}", response.getBody().get("id").toString());
} else {
LOGGER.debug("Application refreshed itself as {}", response.getBody());
LOGGER.debug("Application refreshed itself as {}", response.getBody().get("id").toString());
}
isRegistrationSuccessful = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment