提交 7ca07b5d 编写于 作者: J Jesse Glick

[JENKINS-16332] Further diagnostics. Note that you must enable a...

[JENKINS-16332] Further diagnostics. Note that you must enable a hudson.model.User logger at FINE or below to use.
上级 1c68183a
......@@ -350,6 +350,9 @@ public class User extends AbstractModelObject implements AccessControlled, Descr
LOGGER.log(Level.FINE, "mismatch on fullName (‘" + fullName + "’ vs. ‘" + prev.getFullName() + "’) for ‘" + id + "’", new Throwable());
}
}
if (LOGGER.isLoggable(Level.FINE) && id.equals(fullName) && fullName.matches(".+ _\\S+@\\S+_")) {
LOGGER.log(Level.FINE, "[JENKINS-16332] Suspicious fullName being stored: " + fullName, new Throwable());
}
}
return u;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册