Skip to content
Snippets Groups Projects
Commit d4bd1be4 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-6638 refactor logging

parent 3bbd4204
No related branches found
No related tags found
No related merge requests found
...@@ -22,10 +22,8 @@ class ZufiRemoteService { ...@@ -22,10 +22,8 @@ class ZufiRemoteService {
public void registerVorgangManager(@NonNull List<String> organistationsEinheitenIds, String vorgangManagerAddress) { public void registerVorgangManager(@NonNull List<String> organistationsEinheitenIds, String vorgangManagerAddress) {
var result = getServiceStub().register(buildRequest(organistationsEinheitenIds, vorgangManagerAddress)); var result = getServiceStub().register(buildRequest(organistationsEinheitenIds, vorgangManagerAddress));
if (result.getSuccess()) { if (!result.getSuccess()) {
LOG.info("Registration successfully organisationIds: {}", organistationsEinheitenIds); LOG.warn("Registration failed: {}", result.getMessage());
} else {
LOG.error("Registration failed: {}", result.getMessage());
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment