提交 f0322414 编写于 作者: K kohsuke

having two logger makes no sense

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15025 71c3de6d-444a-0410-be80-ed276b4c234a
上级 1b72dd26
......@@ -1084,7 +1084,7 @@ public class SubversionSCM extends SCM implements Serializable {
return auth;
} catch (SVNException e) {
logger.log(Level.SEVERE, "Failed to authorize",e);
LOGGER.log(Level.SEVERE, "Failed to authorize",e);
throw new RuntimeException("Failed to authorize",e);
}
}
......@@ -1356,7 +1356,7 @@ public class SubversionSCM extends SCM implements Serializable {
message += "<pre id=svnerror style='display:none'>"+Functions.printThrowable(e)+"</pre>";
message += " (Maybe you need to <a target='_new' href='"+req.getContextPath()+"/scm/SubversionSCM/enterCredential?"+url+"'>enter credential</a>?)";
message += "<br>";
logger.log(Level.INFO, "Failed to access subversion repository "+url,e);
LOGGER.log(Level.INFO, "Failed to access subversion repository "+url,e);
errorWithMarkup(message);
}
}
......@@ -1456,8 +1456,6 @@ public class SubversionSCM extends SCM implements Serializable {
private static final long serialVersionUID = 1L;
private static final Logger logger = Logger.getLogger(SubversionSCM.class.getName());
static {
new Initializer();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册