Fix log lines

This commit is contained in:
Shane Kilkelly 2020-06-19 15:50:42 +01:00
parent ed778639a8
commit ec278ffe0a
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ public class HealthCheckHandler extends AbstractHandler {
HttpServletResponse response
) throws IOException {
if ("GET".equals(baseRequest.getMethod()) && "/health_check".equals(target)) {
Log.info("GET <- /api/health_check");
Log.info("GET <- /health_check");
baseRequest.setHandled(true);
response.setContentType("text/plain");
if (bridge.healthCheck()) {

View file

@ -29,7 +29,7 @@ public class StatusHandler extends AbstractHandler {
HttpServletResponse response
) throws IOException {
if ("GET".equals(baseRequest.getMethod()) && "/status".equals(target)) {
Log.info("GET <- /api/status");
Log.info("GET <- /status");
baseRequest.setHandled(true);
response.setContentType("text/plain");
response.setStatus(200);