|
| 1 | +--- |
| 2 | +layout: post |
| 3 | +title: "26.0.0.1 でのログ・スロットリングと注目すべきバグ修正" |
| 4 | +# Do NOT change the categories section |
| 5 | +categories: blog |
| 6 | +author_picture: https://avatars3.githubusercontent.com/navaneethsnair1 |
| 7 | +author_github: https://github.com/navaneethsnair1 |
| 8 | +seo-title: 26.0.0.1 でのログ・スロットリングと注目すべきバグ修正 - OpenLiberty.io |
| 9 | +seo-description: このリリースでは、Open Liberty にログ・スロットリング機能が導入され、過度に繰り返されるログメッセージを自動的に抑制することで、開発者がノイズを削減し、大量のログをより効果的に管理できるようになりました。 |
| 10 | +blog_description: このリリースでは、Open Liberty にログ・スロットリング機能が導入され、過度に繰り返されるログメッセージを自動的に抑制することで、開発者がノイズを削減し、大量のログをより効果的に管理できるようになりました。 |
| 11 | +open-graph-image: https://openliberty.io/img/twitter_card.jpg |
| 12 | +open-graph-image-alt: Open Liberty Logo |
| 13 | +blog-available-in-languages: |
| 14 | +- lang: en |
| 15 | + path: /blog/2026/01/27/26.0.0.1.html |
| 16 | +additional_authors: |
| 17 | +- name: 馬場 剛,片桐亮人(校正) |
| 18 | + github: https://github.com/babatch |
| 19 | + image: https://avatars.githubusercontent.com/u/29302643 |
| 20 | +--- |
| 21 | += 26.0.0.1 でのログ・スロットリングと注目すべきバグ修正 |
| 22 | +Navaneeth S Nair <https://github.com/navaneethsnair1> |
| 23 | +:imagesdir: / |
| 24 | +:url-prefix: |
| 25 | +:url-about: / |
| 26 | +//Blank line here is necessary before starting the body of the post. |
| 27 | + |
| 28 | +// // // // // // // // |
| 29 | +// In the preceding section: |
| 30 | +// Do not insert any blank lines between any of the lines. |
| 31 | +// Do not remove or edit the variables on the lines beneath the author name. |
| 32 | +// |
| 33 | +// "open-graph-image" is set to OL logo. Whenever possible update this to a more appropriate/specific image (For example if present a image that is being used in the post). However, it |
| 34 | +// can be left empty which will set it to the default |
| 35 | +// |
| 36 | +// "open-graph-image-alt" is a description of what is in the image (not a caption). When changing "open-graph-image" to |
| 37 | +// a custom picture, you must provide a custom string for "open-graph-image-alt". |
| 38 | +// |
| 39 | +// Replace TITLE with the blog post title eg: MicroProfile 3.3 is now available on Open Liberty 20.0.0.4 |
| 40 | +// Replace navaneethsnair1 with your GitHub username eg: lauracowen |
| 41 | +// Replace DESCRIPTION with a short summary (~60 words) of the release (a more succinct version of the first paragraph of the post). |
| 42 | +// Replace Navaneeth S Nair with your name as you'd like it to be displayed, eg: Laura Cowen |
| 43 | +// |
| 44 | +// Example post: 2020-04-09-microprofile-3-3-open-liberty-20004.adoc |
| 45 | +// |
| 46 | +// If adding image into the post add : |
| 47 | +// ------------------------- |
| 48 | +// [.img_border_light] |
| 49 | +// image::img/blog/FILE_NAME[IMAGE CAPTION ,width=70%,align="center"] |
| 50 | +// ------------------------- |
| 51 | +// "[.img_border_light]" = This adds a faint grey border around the image to make its edges sharper. Use it around screenshots but not |
| 52 | +// around diagrams. Then double check how it looks. |
| 53 | +// There is also a "[.img_border_dark]" class which tends to work best with screenshots that are taken on dark |
| 54 | +// backgrounds. |
| 55 | +// Change "FILE_NAME" to the name of the image file. Also make sure to put the image into the right folder which is: img/blog |
| 56 | +// change the "IMAGE CAPTION" to a couple words of what the image is |
| 57 | +// // // // // // // // |
| 58 | + |
| 59 | +このリリースでは、Open Liberty にログ・スロットリング機能が導入され、過度に繰り返されるログメッセージを自動的に抑制することで、開発者がノイズを削減し、大量のログをより効果的に管理できるようになりました。 |
| 60 | +// // // // // // // // |
| 61 | +// In the preceding section: |
| 62 | +// Leave any instances of `tag::xxxx[]` or `end:xxxx[]` as they are. |
| 63 | +// |
| 64 | +// Replace RELEASE_SUMMARY with a short paragraph that summarises the release. Start with the lead feature but also summarise what else is new in the release. You will agree which will be the lead feature with the reviewers so you can just leave a placeholder here until after the initial review. |
| 65 | +// // // // // // // // |
| 66 | + |
| 67 | +// // // // // // // // |
| 68 | +// Replace the following throughout the document: |
| 69 | +// Replace 26.0.0.1 with the version number of Open Liberty, eg: 22.0.0.2 |
| 70 | +// Replace 26001 with the version number of Open Liberty wihtout the periods, eg: 22002 |
| 71 | +// // // // // // // // |
| 72 | + |
| 73 | +link:{url-about}[Open Liberty] 26.0.0.1 の内容: |
| 74 | + |
| 75 | +* <<logging, ログ・スロットリング>> |
| 76 | +* <<bugs, 注目すべきバグ修正>> |
| 77 | + |
| 78 | +// // // // // // // // |
| 79 | +// If there were updates to guides since last release, keep the following, otherwise remove section. |
| 80 | +// // // // // // // // |
| 81 | +ランタイムに追加された新機能に加えて、<<guides, ガイドの更新>> も行いました。 |
| 82 | + |
| 83 | +// // // // // // // // |
| 84 | +// In the preceding section: |
| 85 | +// Replace the TAG_X with a short label for the feature in lower-case, eg: mp3 |
| 86 | +// Replace the FEATURE_1_HEADING with heading the feature section, eg: MicroProfile 3.3 |
| 87 | +// Where the updates are grouped as sub-headings under a single heading |
| 88 | +// (eg all the features in a MicroProfile release), provide sub-entries in the list; |
| 89 | +// eg replace SUB_TAG_1 with mpr, and SUB_FEATURE_1_HEADING with |
| 90 | +// Easily determine HTTP headers on outgoing requests (MicroProfile Rest Client 1.4) |
| 91 | +// // // // // // // // |
| 92 | + |
| 93 | +26.0.0.1 で修正されたバグのリストは link:https://github.com/OpenLiberty/open-liberty/issues?q=label%3Arelease%3A26001+label%3A%22release+bug%22[こちら] です。 |
| 94 | + |
| 95 | +link:{url-prefix}/blog/?search=release&search!=beta[以前の Open Liberty GA リリースのブログ投稿] もチェックして下さい。 |
| 96 | + |
| 97 | + |
| 98 | +[#run] |
| 99 | + |
| 100 | +// // // // // // // // |
| 101 | +// LINKS |
| 102 | +// |
| 103 | +// OpenLiberty.io site links: |
| 104 | +// link:{url-prefix}/guides/maven-intro.html[Maven] |
| 105 | +// |
| 106 | +// Off-site links: |
| 107 | +//link:https://openapi-generator.tech/docs/installation#jar[Download Instructions] |
| 108 | +// |
| 109 | +// IMAGES |
| 110 | +// |
| 111 | +// Place images in ./img/blog/ |
| 112 | +// Use the syntax: |
| 113 | +// image::/img/blog/log4j-rhocp-diagrams/current-problem.png[Logging problem diagram,width=70%,align="center"] |
| 114 | +// // // // // // // // |
| 115 | + |
| 116 | +== 26.0.0.1 でアプリを開発して実行する |
| 117 | + |
| 118 | +もし link:{url-prefix}/guides/maven-intro.html[Maven] を使用しているなら、`pom.xml` に以下を含めます。 |
| 119 | + |
| 120 | +[source,xml] |
| 121 | +---- |
| 122 | +<plugin> |
| 123 | + <groupId>io.openliberty.tools</groupId> |
| 124 | + <artifactId>liberty-maven-plugin</artifactId> |
| 125 | + <version>3.11.5</version> |
| 126 | +</plugin> |
| 127 | +---- |
| 128 | + |
| 129 | +link:{url-prefix}/guides/gradle-intro.html[Gradle] を使用している場合は、`build.gradle` ファイルに以下を含めます。 |
| 130 | + |
| 131 | +[source,gradle] |
| 132 | +---- |
| 133 | +buildscript { |
| 134 | + repositories { |
| 135 | + mavenCentral() |
| 136 | + } |
| 137 | + dependencies { |
| 138 | + classpath 'io.openliberty.tools:liberty-gradle-plugin:3.9.6' |
| 139 | + } |
| 140 | +} |
| 141 | +apply plugin: 'liberty' |
| 142 | +---- |
| 143 | +// // // // // // // // |
| 144 | +// In the preceding section: |
| 145 | +// Replace the Maven `3.11.5` with the latest version of the plugin: https://search.maven.org/artifact/io.openliberty.tools/liberty-maven-plugin |
| 146 | +// Replace the Gradle `3.9.5` with the latest version of the plugin: https://search.maven.org/artifact/io.openliberty.tools/liberty-gradle-plugin |
| 147 | +// TODO: Update GHA to automatically do the above. If the maven.org is problematic, then could fallback to using the GH Releases for the plugins |
| 148 | +// // // // // // // // |
| 149 | + |
| 150 | +link:{url-prefix}/docs/latest/container-images.html[コンテナ・イメージ] を使用している場合は、以下のようにします。 |
| 151 | + |
| 152 | +[source] |
| 153 | +---- |
| 154 | +FROM icr.io/appcafe/open-liberty |
| 155 | +---- |
| 156 | + |
| 157 | +または、link:{url-prefix}/start/[ダウンロード・ページ] をご覧ください。 |
| 158 | + |
| 159 | +link:https://plugins.jetbrains.com/plugin/14856-liberty-tools[IntelliJ IDEA]、link:https://marketplace.visualstudio.com/items?itemName=Open-Liberty.liberty-dev-vscode-ext[Visual Studio Code]、または link:https://marketplace.eclipse.org/content/liberty-tools[Eclipse IDE] を使用している場合は、オープンソースの link:https://openliberty.io/docs/latest/develop-liberty-tools.html[Liberty 開発者ツール] を利用して、IDE 内から効果的な開発、テスト、デバッグ、アプリケーション管理を行うこともできます。 |
| 160 | + |
| 161 | +[link=https://stackoverflow.com/tags/open-liberty] |
| 162 | +image::img/blog/blog_btn_stack_ja.svg[Stack Overflow で質問する, align="center"] |
| 163 | + |
| 164 | +// // // // DO NOT MODIFY THIS COMMENT BLOCK <GHA-BLOG-TOPIC> // // // // |
| 165 | +// Blog issue: https://github.com/OpenLiberty/open-liberty/issues/31793 |
| 166 | +// Contact/Reviewer: Channyboy,navaneethsnair1 |
| 167 | +// // // // // // // // |
| 168 | +[#logging] |
| 169 | +== ログ・スロットリング |
| 170 | + |
| 171 | +Open Liberty のロギング機能にログ・スロットリングが導入されました。これまで開発者には、大量のメッセージを抑制する方法がありませんでした。この新機能は、同じログイベントが短時間に繰り返し発生した場合に、過度なログ出力を防ぐのに役立ちます。 |
| 172 | + |
| 173 | +スロットリング機能はデフォルトで有効になっています。有効にすると、Liberty はスライディングウィンドウを使用して各 messageID を追跡します。デフォルトでは、5 分間に 1,000 回を超えて繰り返される messageID は抑制されます。スロットリングが開始されると、スロットリング警告がログに記録されます。 |
| 174 | + |
| 175 | +ログ・スロットリングは、`throttleType` ロギング属性を使用して、メッセージまたは messageID に基づいてメッセージを抑制するように構成できます。スロットリングが開始される前に許可されるメッセージの数は、`throttleMaxMessagesPerWindow` 属性を使用して構成できます。 |
| 176 | + |
| 177 | +ログ・スロットリングは、`throttleMaxMessagesPerWindow` を `0` に設定することで無効にできます。 |
| 178 | + |
| 179 | +現在、これらの属性は次のように構成できます。 |
| 180 | + |
| 181 | +* `server.xml` の場合: |
| 182 | ++ |
| 183 | +[source,xml] |
| 184 | +---- |
| 185 | +<logging throttleMaxMessagesPerWindow="5000" throttleType="messageID" /> |
| 186 | +---- |
| 187 | + |
| 188 | +* `bootstrap.properties` の場合: |
| 189 | ++ |
| 190 | +[source,properties] |
| 191 | +---- |
| 192 | +com.ibm.ws.logging.throttle.max.messages.per.window=5000 |
| 193 | +com.ibm.ws.logging.throttle.type=messageID |
| 194 | +---- |
| 195 | + |
| 196 | +* `server.env` の場合: |
| 197 | ++ |
| 198 | +[source,env] |
| 199 | +---- |
| 200 | +WLP_LOGGING_THROTTLE_MAX_MESSAGES_PER_WINDOW=5000 |
| 201 | +WLP_LOGGING_THROTTLE_TYPE=messageID |
| 202 | +---- |
| 203 | + |
| 204 | +=== message と messageID の違い: |
| 205 | + |
| 206 | +次のログイベントの例を考えてみましょう: `TEST0111I: Hello World!` |
| 207 | + |
| 208 | +`throttleType` が `messageID` に設定されている場合、スロットリングは messageID の発生回数のみに基づいて適用されます。この例では、`TEST0111I` がスロットリングに使用されます。 |
| 209 | + |
| 210 | +`throttleType` が `message` に設定されている場合、スロットリングはメッセージ全体に適用されます。メッセージ内容のバリエーションは個別に追跡されます。この例では、`TEST0111I: Hello World!` がスロットリングに使用されます。 |
| 211 | + |
| 212 | +// DO NOT MODIFY THIS LINE. </GHA-BLOG-TOPIC> |
| 213 | + |
| 214 | + |
| 215 | +[#bugs] |
| 216 | +== このリリースで修正された注目すべきバグ |
| 217 | + |
| 218 | + |
| 219 | +バグ修正に時間を費やしました。以下のセクションでは、このリリースで解決された問題の一部について説明します。興味がある場合は、link:https://github.com/OpenLiberty/open-liberty/issues?q=label%3Arelease%3A26001+label%3A%22release+bug%22[26.0.0.1 で修正されたバグの完全なリスト] をご覧ください。 |
| 220 | + |
| 221 | +* link:https://github.com/OpenLiberty/open-liberty/issues/33686[SocketRWChannelSelector で NullPointerException が発生する] |
| 222 | +* link:https://github.com/OpenLiberty/open-liberty/issues/33617[IBM WebSphere Application Server Liberty がクロスサイトスクリプティングの影響を受ける (CVE-2025-12635 CVSS 5.4)] |
| 223 | +* link:https://github.com/OpenLiberty/open-liberty/issues/33609[wlp パスワードキーのデコードに失敗する可能性がある] |
| 224 | +* link:https://github.com/OpenLiberty/open-liberty/issues/33571[mpOpenAPI が x-ibm-zcon-roles-allowed を正しくマージしない] |
| 225 | +* link:https://github.com/OpenLiberty/open-liberty/issues/33561[Server package <server> --include=minify が Liberty の FIPS プロパティファイルを含まない] |
| 226 | + |
| 227 | +// // // // // // // // |
| 228 | +// In the preceding section: |
| 229 | +// For this section ask either Michal Broz or Tom Evans or the #openliberty-release-blog channel for Notable bug fixes in this release. |
| 230 | +// Present them as a list in the order as provided, linking to the issue and providing a short description of the bug and the resolution. |
| 231 | +// If the issue on Github is missing any information, leave a comment in the issue along the lines of: |
| 232 | +// "@[issue_owner(s)] please update the description of this `release bug` using the [bug report template](https://github.com/OpenLiberty/open-liberty/issues/new?assignees=&labels=release+bug&template=bug_report.md&title=)" |
| 233 | +// Feel free to message the owner(s) directly as well, especially if no action has been taken by them. |
| 234 | +// For inspiration about how to write this section look at previous blogs e.g- 20.0.0.10 or 21.0.0.12 (https://openliberty.io/blog/2021/11/26/jakarta-ee-9.1.html#bugs) |
| 235 | +// // // // // // // // |
| 236 | + |
| 237 | + |
| 238 | +// // // // // // // // |
| 239 | +// If there were updates to guides since last release, keep the following, otherwise remove section. |
| 240 | +// Check with Gilbert Kwan, otherwise Michal Broz or YK Chang |
| 241 | +// // // // // // // // |
| 242 | +[#guides] |
| 243 | +== 前回のリリース以降の新規および更新されたガイド |
| 244 | +Open Liberty の機能が成長し続けるにつれて、それらのトピックに関する link:https://openliberty.io/guides/?search=new&key=tag[新しいガイドを openliberty.io に] 追加し続けており、採用を可能な限り簡単にしています。 |
| 245 | + |
| 246 | +link:https://openliberty.io/guides/#observability[Observability] カテゴリーの下に 2 つの新しいガイドが公開されました。 |
| 247 | + |
| 248 | +* link:https://openliberty.io/guides/microprofile-telemetry-grafana-automatic.html[OpenTelemetry と Grafana を使用したトレース、メトリクス、ログによるマイクロサービスの可観測性の有効化] |
| 249 | +* link:https://openliberty.io/guides/microprofile-telemetry-grafana-custom.html[OpenTelemetry と Grafana を使用したマイクロサービスの可観測性のためのカスタムトレースとメトリクスの追加] |
| 250 | + |
| 251 | + |
| 252 | +// // // // // // // // |
| 253 | +// In the following section, list any new guides, or changes/updates to existing guides. |
| 254 | +// The following is an example of how the list can be structured (similar to the bugs section): |
| 255 | +// * link:{url-prefix}/guides/[new/updated guide].html[Guide Title] |
| 256 | +// ** Description of the guide or the changes made to the guide. |
| 257 | +// // // // // // // // |
| 258 | + |
| 259 | + |
| 260 | +== Open Liberty 26.0.0.1 を今すぐ入手 |
| 261 | + |
| 262 | +<<run,Maven、Gradle、Docker、およびダウンロード可能なアーカイブ>> から入手できます。 |
0 commit comments