fix wrong log message

This commit is contained in:
Sebastian Sdorra
2012-03-25 13:17:34 +02:00
parent 7848d1b192
commit 21fb402565

View File

@@ -170,8 +170,9 @@ public class BasicSecurityContext implements WebSecurityContext
{ {
if (logger.isDebugEnabled()) if (logger.isDebugEnabled())
{ {
logger.debug("user '{}' is marked as admin by local database", logger.debug(
user.getType(), user.getName()); "user '{}' of type '{}' is marked as admin by local database",
user.getName(), user.getType());
} }
user.setAdmin(true); user.setAdmin(true);