diff --git a/home/docs/community/how-to-verify.md b/home/docs/community/how-to-verify.md index b949f07494f..41c3341b59e 100644 --- a/home/docs/community/how-to-verify.md +++ b/home/docs/community/how-to-verify.md @@ -8,6 +8,8 @@ sidebar_position: 4 For detailed check list, please refer to the official [check list](https://cwiki.apache.org/confluence/display/INCUBATOR/Incubator+Release+Checklist) +Version content accessible in browser https://dist.apache.org/repos/dist/dev/incubator/hertzbeat/ + ## 1. Download the candidate version Download the candidate version to be released to the local environment Need to rely on gpg tool, if not, it is recommended to install `gpg2`. @@ -119,7 +121,6 @@ check as follows: - [ ] Only text files exist, not binary files - [ ] All files have ASF license at the beginning - [ ] Able to compile correctly -- [ ] Check for extra files or folders, such as empty folders, etc. - [ ] ..... diff --git a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/community/how-to-verify.md b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/community/how-to-verify.md index c183ff44409..ee4f9563c83 100644 --- a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/community/how-to-verify.md +++ b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/community/how-to-verify.md @@ -7,8 +7,9 @@ sidebar_position: 4 详细检查列表请参考官方的[check list](https://cwiki.apache.org/confluence/display/INCUBATOR/Incubator+Release+Checklist) -## 1. 下载候选版本到本地 +在浏览器中可访问版本内容 https://dist.apache.org/repos/dist/dev/incubator/hertzbeat/ +## 1. 下载候选版本到本地 > 需要依赖gpg工具,如果没有,建议安装gpg2 @@ -143,7 +144,6 @@ cd apache-hertzbeat-${release_version}-incubating-src - [ ] 只存在文本文件,不存在二进制文件 - [ ] 所有文件的开头都有ASF许可证 - [ ] 能够正确编译 -- [ ] 检查是否有多余文件或文件夹,例如空文件夹等 - [ ] ..... 参考: https://apache.org/legal/resolved.html diff --git a/plugin/src/main/java/org/apache/hertzbeat/plugin/impl/DemoPluginImpl.java b/plugin/src/main/java/org/apache/hertzbeat/plugin/impl/DemoPluginImpl.java index f263b172ed7..7fca0b75844 100644 --- a/plugin/src/main/java/org/apache/hertzbeat/plugin/impl/DemoPluginImpl.java +++ b/plugin/src/main/java/org/apache/hertzbeat/plugin/impl/DemoPluginImpl.java @@ -32,7 +32,9 @@ public class DemoPluginImpl implements Plugin { */ @Override public void alert(Alert alert) { - log.info("DemoPluginImpl alert: {}", alert); + if (log.isDebugEnabled()) { + log.debug("DemoPluginImpl alert: {}", alert); + } } }