Commit dc057039 authored by Marta Różańska's avatar Marta Różańska
Browse files

adding logging

parent 9993c25f
......@@ -42,7 +42,7 @@ public class GeneticSolverController {
String notificationUri = request.getNotificationURI();
String requestUuid = request.getWatermark().getUuid();
int timeLimit = request.getTimeLimit();
log.info("Received request: " + applicationId + " " + cdoResourcePath + " " + notificationUri + " " + requestUuid);
log.info("Received request: {}, {}, {}, {}, time limit: {}", applicationId, cdoResourcePath, notificationUri, requestUuid, timeLimit);
geneticSolverCoordinator.generateCPSolution(applicationId, cdoResourcePath, notificationUri, requestUuid, timeLimit);
log.info("Sleeping...");
......
......@@ -42,7 +42,7 @@ public class MCTSSolverController {
String notificationUri = request.getNotificationURI();
String requestUuid = request.getWatermark().getUuid();
int seconds = request.getTimeLimit();
log.info("Received request: {}, {}, {}, {}", applicationId, cdoResourcePath, notificationUri, requestUuid);
log.info("Received request: {}, {}, {}, {}, time limit: {}", applicationId, cdoResourcePath, notificationUri, requestUuid, seconds);
MCTSSolverCoordinator.generateCPSolution(applicationId, cdoResourcePath, notificationUri, requestUuid, seconds);
log.info("Sleeping...");
}
......
......@@ -37,7 +37,7 @@ public class NCSolverController {
String notificationUri = request.getNotificationURI();
String requestUuid = request.getWatermark().getUuid();
int seconds = request.getTimeLimit();
log.info("Received request: {}, {}, {}, {}", applicationId ,cdoResourcePath ,notificationUri, requestUuid);
log.info("Received request: {}, {}, {}, {}, time limit: {}", applicationId ,cdoResourcePath ,notificationUri, requestUuid, seconds);
ncSolverCoordinator.generateCPSolution(applicationId, cdoResourcePath, notificationUri, requestUuid, seconds);
log.info("Sleeping...");
}
......
......@@ -42,7 +42,7 @@ public class PTSolverController {
String notificationUri = request.getNotificationURI();
String requestUuid = request.getWatermark().getUuid();
int seconds = request.getTimeLimit();
log.info("Received request: {} {} {} {}", applicationId, cdoResourcePath, notificationUri, requestUuid);
log.info("Received request: {} {} {} {}, time limit: {}", applicationId, cdoResourcePath, notificationUri, requestUuid, seconds);
ptSolverCoordinator.generateCPSolution(applicationId, cdoResourcePath, notificationUri, requestUuid, seconds);
log.info("Sleeping...");
......
Supports Markdown
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