From f5fa7958b07d0e585542b712b13f7ad9b47a8be9 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Fri, 23 Dec 2011 08:28:15 -0500 Subject: [PATCH] Improved logging of GitblitUserService --- src/com/gitblit/GitblitUserService.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/com/gitblit/GitblitUserService.java b/src/com/gitblit/GitblitUserService.java index f675510..122c21b 100644 --- a/src/com/gitblit/GitblitUserService.java +++ b/src/com/gitblit/GitblitUserService.java @@ -57,6 +57,7 @@ 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 @@ } return service; } + + @Override + public String toString() { + return getClass().getSimpleName(); + } @Override public boolean supportsCookies() { -- Gitblit v1.9.1