use warn rather than debug to show more informations in log

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1436672 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2013-01-21 22:43:30 +00:00
parent a7c4bd1d97
commit 273b8f6ff0
2 changed files with 2 additions and 2 deletions

View File

@ -124,7 +124,7 @@ public class LdapUserManager
return null;
}
if ( GUEST_USERNAME.equals( user.getUsername() ) )
if ( isReadOnly() && GUEST_USERNAME.equals( user.getUsername() ) )
{
guestUser = user;
return guestUser;

View File

@ -290,7 +290,7 @@ public class DefaultLdapController
}
if ( user.getUsername().equals( UserManager.GUEST_USERNAME ) )
{
log.debug( "skip user '{}' creation" );
log.warn( "skip user '{}' creation" );
//We don't store guest
return;
}