adding log message for reload endpoint

This commit is contained in:
Remilito 2017-02-26 20:25:41 +01:00
parent cf66c2b7f1
commit b1d741a661

View file

@ -83,6 +83,7 @@ public class NotebookRepoRestApi {
@ZeppelinApi
public Response refreshRepo(){
AuthenticationInfo subject = new AuthenticationInfo(SecurityUtils.getPrincipal());
LOG.info("Reloading notebook repository for user {}", subject.getUser());
notebookWsServer.broadcastReloadedNoteList(subject, null);
return new JsonResponse<>(Status.OK, "", null).build();
}