diff --git a/cramp-core/src/main/java/org/eduze/fyp/core/CameraNotifier.java b/cramp-core/src/main/java/org/eduze/fyp/core/CameraNotifier.java index 98f896c9..161610d7 100644 --- a/cramp-core/src/main/java/org/eduze/fyp/core/CameraNotifier.java +++ b/cramp-core/src/main/java/org/eduze/fyp/core/CameraNotifier.java @@ -117,7 +117,7 @@ public void completed(HttpResponse httpResponse) { @Override public void failed(Exception e) { - logger.error("Error occurred when notifying camera with", e); + logger.error("Error occurred when notifying camera: {}", e.getMessage()); setState(State.IDLE); } diff --git a/cramp-web/src/main/java/org/eduze/fyp/web/services/ConfigService.java b/cramp-web/src/main/java/org/eduze/fyp/web/services/ConfigService.java index 30de5f1c..e295f02c 100644 --- a/cramp-web/src/main/java/org/eduze/fyp/web/services/ConfigService.java +++ b/cramp-web/src/main/java/org/eduze/fyp/web/services/ConfigService.java @@ -122,6 +122,7 @@ public CameraConfig getCameraConfig(int cameraId) { p.setY(p.getY() * cameraConfig.getHeight() / Constants.CAMERA_VIEW_HEIGHT); }); + logger.debug("Get camera config: {}", cameraConfig); return cameraConfig; } diff --git a/ngapp/src/app/realtime-map/realtime-map.component.html b/ngapp/src/app/realtime-map/realtime-map.component.html index 9b172f3b..4bc65ed4 100644 --- a/ngapp/src/app/realtime-map/realtime-map.component.html +++ b/ngapp/src/app/realtime-map/realtime-map.component.html @@ -1,6 +1,6 @@