We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
arthas-boot.jar
as.sh
arthas-boot
初始化调用ArthasBootstrap.getInstance(instrumentation, "") 时,会自动调用[/api/latest_version](https://arthas.aliyun.com/api/latest_version接口,就为了打印一行日志?我看代码里没办法关掉这个调用么
public static String welcome(Map<String, String> infos) { logger.info("Current arthas version: {}, recommend latest version: {}", version(), latestVersion()); TableElement table = (new TableElement()).rightCellPadding(1).row(new String[]{"wiki", wiki()}).row(new String[]{"tutorials", tutorials()}).row(new String[]{"version", version()}).row(new String[]{"main_class", PidUtils.mainClass()}).row(new String[]{"pid", PidUtils.currentPid()}).row(new String[]{"time", DateUtils.getCurrentDate()}); Iterator var2 = infos.entrySet().iterator(); while(var2.hasNext()) { Map.Entry<String, String> entry = (Map.Entry)var2.next(); table.row(new String[]{(String)entry.getKey(), (String)entry.getValue()}); } return logo() + "\n" + RenderUtil.render(table); } static String latestVersion() { try { URLConnection urlConnection = openURLConnection("https://arthas.aliyun.com/api/latest_version"); InputStream inputStream = urlConnection.getInputStream(); return IOUtils.toString(inputStream).trim(); } catch (Throwable var2) { return ""; } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
环境信息
arthas-boot.jar
或者as.sh
的版本: xxxarthas-boot
的版本: 4.0.1初始化调用ArthasBootstrap.getInstance(instrumentation, "") 时,会自动调用[/api/latest_version](https://arthas.aliyun.com/api/latest_version接口,就为了打印一行日志?我看代码里没办法关掉这个调用么
The text was updated successfully, but these errors were encountered: