From f5fa7958b07d0e585542b712b13f7ad9b47a8be9 Mon Sep 17 00:00:00 2001 From: James Moger Date: Fri, 23 Dec 2011 08:28:15 -0500 Subject: [PATCH] Improved logging of GitblitUserService --- src/com/gitblit/GitblitUserService.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/com/gitblit/GitblitUserService.java b/src/com/gitblit/GitblitUserService.java index f675510a..122c21bb 100644 --- a/src/com/gitblit/GitblitUserService.java +++ b/src/com/gitblit/GitblitUserService.java @@ -57,6 +57,7 @@ public class GitblitUserService implements IUserService { public void setup(IStoredSettings settings) { File realmFile = GitBlit.getFileOrFolder(Keys.realm.userService, "users.conf"); serviceImpl = createUserService(realmFile); + logger.info("GUS delegating to " + serviceImpl.toString()); } @SuppressWarnings("deprecation") @@ -104,6 +105,11 @@ public class GitblitUserService implements IUserService { } return service; } + + @Override + public String toString() { + return getClass().getSimpleName(); + } @Override public boolean supportsCookies() { -- 2.39.5