diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/moodle/plugin/MoodlePluginFullIntegration.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/moodle/plugin/MoodlePluginFullIntegration.java index f153f4ce..0bb1e261 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/moodle/plugin/MoodlePluginFullIntegration.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/moodle/plugin/MoodlePluginFullIntegration.java @@ -96,6 +96,11 @@ public class MoodlePluginFullIntegration implements FullLmsIntegrationAPI { final LmsSetup lmsSetup = this.restTemplateFactory.getApiTemplateDataSupplier().getLmsSetup(); final String jsonPayload = jsonMapper.writeValueAsString(data); final MoodleAPIRestTemplate rest = getRestTemplate().getOrThrow(); + + //if (log.isDebugEnabled()) { + log.info("Try to connect to Moodle Plugin 2.0 with: {}", jsonPayload); + //} + final String response = rest.postToMoodleAPIFunction(FUNCTION_NAME_SEBSERVER_CONNECTION, jsonPayload); if (response != null && response.startsWith("{\"exception\":")) {