minor logging change

This commit is contained in:
Shikhar Bhushan
2010-05-22 01:25:18 +01:00
parent 2420027a58
commit a7ccccaacf

View File

@@ -46,7 +46,7 @@ public class AuthPassword
@Override @Override
public SSHPacket buildReq() public SSHPacket buildReq()
throws UserAuthException { throws UserAuthException {
log.info("Requesting password for " + resource); log.info("Requesting password for {}", resource);
char[] password = pwdf.reqPassword(resource); char[] password = pwdf.reqPassword(resource);
if (password == null) if (password == null)
throw new UserAuthException("Was given null password for " + resource); throw new UserAuthException("Was given null password for " + resource);