-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
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
feat(logging): OpenTelemetry trace/span ID integration for Java logging library #1596
Conversation
d29ce26
to
7ca6f19
Compare
google-cloud-logging/src/main/java/com/google/cloud/logging/Context.java
Show resolved
Hide resolved
google-cloud-logging/src/main/java/com/google/cloud/logging/ContextHandler.java
Outdated
Show resolved
Hide resolved
// Populate trace/span ID from OpenTelemetry span context to logging context. | ||
if (Span.current().getSpanContext().isValid()) { | ||
Context.Builder contextBuilder = Context.newBuilder().loadOpenTelemetryContext(); | ||
contextHandler.setCurrentContext(contextBuilder.build(), ContextPriority.OTEL_EXTRACTED); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you set the ContextPriority
for the other modes as well? I only see OTEL_EXTRACTED
being set in this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unlike other logging libraries, java-logging library doesn't call other setCurrentContext() within the library itself. It's usually delegated to customers or integration library. An example is mentioned here (2nd approach to set trace for log entries):
RequestContextFilter in java-logging-servlet-initializer repository will call setCurrentContext () and load tracing context from cloud tracing or W3C headers.
And we do have a plan mentioned here to switch to the new setCurrentContext(Context context, ContextPriority priority) in java-logging-servlet-initializer after the change in this repository is released.
I have also added some unit tests here for setCurrentContext(Context context, ContextPriority priority)
: https://github.com/googleapis/java-logging/pull/1596/files#diff-cca9976e4f3cf85575f1f366cb06f8047e56f4888f16340facf158dfa7ec6721
} | ||
|
||
private void assertTraceAndSpan(Context context, String expectedTraceId, String expectedSpanId) { | ||
@Test | ||
public void testParsingOpenTelemetryContext() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you tested the case where you have an OpenTelemetry span and a request with either a Traceparent or XCTC header?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have added some system tests here: https://github.com/googleapis/java-logging/pull/1596/files#diff-116da1fe69768cf63bc5b434e783fc90c20d21f1a437d2ddab7d6b677f56ea8e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
382e1e7
to
ba86d25
Compare
| Package | Type | Package file | Manager | Update | Change | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-logging](https://github.com/googleapis/java-logging) | dependencies | misk/gradle/libs.versions.toml | gradle | major | `2.3.2` -> `3.20.2` | --- ### Release Notes <details> <summary>googleapis/java-logging (com.google.cloud:google-cloud-logging)</summary> ### [`v3.20.2`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3202-2024-09-12) ##### Dependencies - Update dependency com.google.cloud:sdk-platform-java-config to v3.35.0 ([#​1683](https://github.com/googleapis/java-logging/issues/1683)) ([31ec2b9](https://github.com/googleapis/java-logging/commit/31ec2b972d5e11e12fe0432f42e3e5b8f23312c6)) ### [`v3.20.1`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3201-2024-08-22) ##### Dependencies - Update dependency com.google.cloud:sdk-platform-java-config to v3.34.0 ([#​1677](https://github.com/googleapis/java-logging/issues/1677)) ([dbd050c](https://github.com/googleapis/java-logging/commit/dbd050c354cee5272c37dd323358b222cea5e87e)) ### [`v3.20.0`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3200-2024-08-02) ##### Features - Enable hermetic library generation ([#​1620](https://github.com/googleapis/java-logging/issues/1620)) ([034b9c4](https://github.com/googleapis/java-logging/commit/034b9c42ac8ba12f20dbde9e90ae8e59ea4c5748)) ##### Dependencies - Update dependency com.google.cloud:sdk-platform-java-config to v3.33.0 ([#​1664](https://github.com/googleapis/java-logging/issues/1664)) ([cb6de76](https://github.com/googleapis/java-logging/commit/cb6de767ba726a1178b4ebd0b481a4fc2454b910)) ##### Documentation - Documentation update for OpenTelemetry and tracing ([#​1657](https://github.com/googleapis/java-logging/issues/1657)) ([e3c6670](https://github.com/googleapis/java-logging/commit/e3c667094170ac7d404addc797facbe997ca51d3)) ### [`v3.19.0`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3190-2024-06-26) ##### Features - **logging:** OpenTelemetry trace/span ID integration for Java logging library ([#​1596](https://github.com/googleapis/java-logging/issues/1596)) ([67db829](https://github.com/googleapis/java-logging/commit/67db829621fd1c4a876d158fe1afb4927821fa54)) ##### Dependencies - Update dependency com.google.cloud:sdk-platform-java-config to v3.32.0 ([#​1649](https://github.com/googleapis/java-logging/issues/1649)) ([cb428d1](https://github.com/googleapis/java-logging/commit/cb428d19a1ea750520d336c9d1042d50f3801f15)) ### [`v3.18.0`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3180-2024-06-04) ##### Features - \[java] allow passing libraries_bom_version from env ([#​1967](https://github.com/googleapis/java-logging/issues/1967)) ([#​1615](https://github.com/googleapis/java-logging/issues/1615)) ([dc00cd0](https://github.com/googleapis/java-logging/commit/dc00cd0da891b59f3c22cd7ce281868f5ce8b433)) ##### Dependencies - Update dependency com.google.cloud:sdk-platform-java-config to v3.31.0 ([#​1625](https://github.com/googleapis/java-logging/issues/1625)) ([9db8f3b](https://github.com/googleapis/java-logging/commit/9db8f3b948e20fa406f315b670341da2b00f0856)) ### [`v3.17.2`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3172-2024-05-16) ##### Dependencies - Update dependency com.google.cloud:sdk-platform-java-config to v3.30.1 ([#​1611](https://github.com/googleapis/java-logging/issues/1611)) ([e7a0904](https://github.com/googleapis/java-logging/commit/e7a0904a1faf04b0de400c1778f976494246e39e)) ### [`v3.17.1`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3171-2024-05-06) ##### Dependencies - Update actions/checkout action to v4 ([#​1570](https://github.com/googleapis/java-logging/issues/1570)) ([ea0db35](https://github.com/googleapis/java-logging/commit/ea0db3579da6e965e778233b3cba4862b3fff65c)) - Update actions/github-script action to v7 ([#​1571](https://github.com/googleapis/java-logging/issues/1571)) ([16d6192](https://github.com/googleapis/java-logging/commit/16d61928b6d4887faebbdd48a694a2edff8cb752)) - Update actions/setup-java action to v4 ([#​1572](https://github.com/googleapis/java-logging/issues/1572)) ([9eb8834](https://github.com/googleapis/java-logging/commit/9eb88346fac9688c0e56bec83f7407c5690a5b7f)) - Update dependency com.google.cloud:sdk-platform-java-config to v3.30.0 ([#​1603](https://github.com/googleapis/java-logging/issues/1603)) ([16967e5](https://github.com/googleapis/java-logging/commit/16967e5ba704a75419904ba2aaabce0cbc116352)) ### [`v3.17.0`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3170-2024-04-25) ##### Features - Add Cloud Run Jobs support ([#​1574](https://github.com/googleapis/java-logging/issues/1574)) ([1dd64d0](https://github.com/googleapis/java-logging/commit/1dd64d078e0d4cbb1e16cb1d050ba192492d6a60)) ##### Bug Fixes - **deps:** Update the Java code generator (gapic-generator-java) to 2.39.0 ([#​1587](https://github.com/googleapis/java-logging/issues/1587)) ([848418b](https://github.com/googleapis/java-logging/commit/848418b426c2e93e636dbd9de71985c386ccb9d2)) ##### Dependencies - Update dependency com.google.cloud:sdk-platform-java-config to v3.29.0 ([#​1586](https://github.com/googleapis/java-logging/issues/1586)) ([edcaf8d](https://github.com/googleapis/java-logging/commit/edcaf8de643a7f7f419ee6059c706d0ef0ef4873)) ### [`v3.16.3`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3163-2024-04-17) ##### Dependencies - Update dependency com.google.cloud:sdk-platform-java-config to v3.28.1 ([#​1569](https://github.com/googleapis/java-logging/issues/1569)) ([8eb0781](https://github.com/googleapis/java-logging/commit/8eb0781b1e1e6e369a6ff0a03d1db4cd0462a6a7)) ### [`v3.16.2`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3162-2024-03-20) ##### Dependencies - Update dependency com.google.cloud:sdk-platform-java-config to v3.28.0 ([#​1560](https://github.com/googleapis/java-logging/issues/1560)) ([d52e623](https://github.com/googleapis/java-logging/commit/d52e62343aa814183baa4fa8ea39d41a5e7c423f)) - Update dependency com.google.cloud:sdk-platform-java-config to v3.28.1 ([#​1563](https://github.com/googleapis/java-logging/issues/1563)) ([81aa3e6](https://github.com/googleapis/java-logging/commit/81aa3e6b6662d62844b289a22e8aba50dff36a51)) ### [`v3.16.1`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3161-2024-03-07) ##### Bug Fixes - **deps:** Update the Java code generator (gapic-generator-java) to 2.37.0 ([#​1553](https://github.com/googleapis/java-logging/issues/1553)) ([15b05fc](https://github.com/googleapis/java-logging/commit/15b05fc4a8e6c4069414110b749525082821e509)) ##### Dependencies - Update dependency com.google.cloud:sdk-platform-java-config to v3.27.0 ([#​1552](https://github.com/googleapis/java-logging/issues/1552)) ([6c5464d](https://github.com/googleapis/java-logging/commit/6c5464d1c5a74962fcd459a1e03282747e148a44)) ### [`v3.16.0`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3160-2024-02-20) ##### Features - Add an API method for reordering firewall policies ([#​1538](https://github.com/googleapis/java-logging/issues/1538)) ([9cd6b96](https://github.com/googleapis/java-logging/commit/9cd6b96d9946828c02ccff2ff846a06cc6fff329)) ##### Dependencies - Update dependency com.google.cloud:sdk-platform-java-config to v3.25.0 ([#​1535](https://github.com/googleapis/java-logging/issues/1535)) ([7fde779](https://github.com/googleapis/java-logging/commit/7fde7795f03ac96353912829b42adc0035a41d26)) - Update dependency org.graalvm.buildtools:junit-platform-native to v0.10.0 ([#​1528](https://github.com/googleapis/java-logging/issues/1528)) ([b3e4f9b](https://github.com/googleapis/java-logging/commit/b3e4f9b77bffc49a4f9569d4b7a9318a0d5ea5c0)) - Update dependency org.graalvm.buildtools:native-maven-plugin to v0.10.0 ([#​1456](https://github.com/googleapis/java-logging/issues/1456)) ([f27713e](https://github.com/googleapis/java-logging/commit/f27713ed55159754715cca5ff205364e315a7c05)) - Update dependency org.graalvm.buildtools:native-maven-plugin to v0.10.1 ([#​1542](https://github.com/googleapis/java-logging/issues/1542)) ([af784bc](https://github.com/googleapis/java-logging/commit/af784bce7c5272a346ce5016464c87af7d69b442)) - Update dependency org.junit.vintage:junit-vintage-engine to v5.10.2 ([#​1530](https://github.com/googleapis/java-logging/issues/1530)) ([20981dc](https://github.com/googleapis/java-logging/commit/20981dc90ca1b73b74d9f5a0c7f0dfa4d9960ab9)) ### [`v3.15.17`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#31517-2024-02-07) ##### Dependencies - Update dependency com.google.cloud:sdk-platform-java-config to v3.24.0 ([#​1526](https://github.com/googleapis/java-logging/issues/1526)) ([235f1aa](https://github.com/googleapis/java-logging/commit/235f1aa380d4f34f65d4cc957b3d26fa6a35e226)) ##### Documentation - Fix typo in code comments ([#​1520](https://github.com/googleapis/java-logging/issues/1520)) ([0440fc6](https://github.com/googleapis/java-logging/commit/0440fc6dfa3c5cd19f0d7d941af242872da1bbd3)) ### [`v3.15.16`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#31516-2024-01-25) ##### Bug Fixes - **deps:** Update the Java code generator (gapic-generator-java) to 2.32.0 ([#​1511](https://github.com/googleapis/java-logging/issues/1511)) ([e2f574c](https://github.com/googleapis/java-logging/commit/e2f574caa0b8c2a2cdb3b186fbf2d599d6ef4c2b)) - Enable v2.LogEntry Protobufs converter functions ([#​1509](https://github.com/googleapis/java-logging/issues/1509)) ([9ef4d90](https://github.com/googleapis/java-logging/commit/9ef4d9048b1ecdc887ebc9cb4898a4bfe3f6c154)) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.22.0 ([#​1510](https://github.com/googleapis/java-logging/issues/1510)) ([b40e846](https://github.com/googleapis/java-logging/commit/b40e8465590dadec7c9ff26eb27e92c16b059489)) - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.23.0 ([#​1518](https://github.com/googleapis/java-logging/issues/1518)) ([30ba9ed](https://github.com/googleapis/java-logging/commit/30ba9ed687f5469d36138a138f68cd998cf60b53)) ### [`v3.15.15`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#31515-2024-01-10) ##### Bug Fixes - **deps:** Update the Java code generator (gapic-generator-java) to 2.31.0 ([#​1502](https://github.com/googleapis/java-logging/issues/1502)) ([c7a20de](https://github.com/googleapis/java-logging/commit/c7a20de29bf6fae079f8d73e3062025a79c220c9)) - Replace internal Structs class with google-cloud-core version ([#​1501](https://github.com/googleapis/java-logging/issues/1501)) ([21e1929](https://github.com/googleapis/java-logging/commit/21e19295923a33759229e2e992d003409ab1feb3)) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.21.0 ([#​1500](https://github.com/googleapis/java-logging/issues/1500)) ([6cce3c9](https://github.com/googleapis/java-logging/commit/6cce3c9bbe051180789c7ff4fbdde4c45fe46888)) ### [`v3.15.14`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#31514-2023-12-01) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.20.0 ([#​1484](https://github.com/googleapis/java-logging/issues/1484)) ([f3227db](https://github.com/googleapis/java-logging/commit/f3227dbbb6ef7f8b16ff4a6d39882f57868915f1)) ### [`v3.15.13`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#31513-2023-11-06) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.19.0 ([#​1468](https://github.com/googleapis/java-logging/issues/1468)) ([5835a7d](https://github.com/googleapis/java-logging/commit/5835a7dc1c839eb3bc379470846451bd51fdfc24)) - Update dependency org.junit.vintage:junit-vintage-engine to v5.10.1 ([#​1471](https://github.com/googleapis/java-logging/issues/1471)) ([debc77f](https://github.com/googleapis/java-logging/commit/debc77f4ce57d768474c27eb6c056f7c10c7d743)) ### [`v3.15.12`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#31512-2023-10-25) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.18.0 ([#​1454](https://github.com/googleapis/java-logging/issues/1454)) ([dc25a87](https://github.com/googleapis/java-logging/commit/dc25a87cb6e1d64c2e2c811a928ea2553a684daa)) - Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.28 ([#​1455](https://github.com/googleapis/java-logging/issues/1455)) ([3080cec](https://github.com/googleapis/java-logging/commit/3080cec373f8d9d61ce57363553925a07702d552)) ### [`v3.15.11`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#31511-2023-10-10) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.17.0 ([#​1444](https://github.com/googleapis/java-logging/issues/1444)) ([748e8a2](https://github.com/googleapis/java-logging/commit/748e8a29026b6eb782a559df207a70555289f906)) ### [`v3.15.10`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#31510-2023-09-27) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.16.1 ([#​1434](https://github.com/googleapis/java-logging/issues/1434)) ([e9e9835](https://github.com/googleapis/java-logging/commit/e9e9835e6c7b52364104a1e4a503027efb722422)) - Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.27 ([#​1430](https://github.com/googleapis/java-logging/issues/1430)) ([9e750a3](https://github.com/googleapis/java-logging/commit/9e750a3c3685671ee573a7e8190622d7f9002b51)) - Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.27 ([#​1431](https://github.com/googleapis/java-logging/issues/1431)) ([7c2aa2c](https://github.com/googleapis/java-logging/commit/7c2aa2cc3b5651674591dc4e6cb89774d14e6513)) ### [`v3.15.9`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3159-2023-09-11) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.15.0 ([#​1424](https://github.com/googleapis/java-logging/issues/1424)) ([4f82f33](https://github.com/googleapis/java-logging/commit/4f82f339e47014821eca217f5200080e6b78e03f)) - Update dependency org.easymock:easymock to v5.2.0 ([#​1421](https://github.com/googleapis/java-logging/issues/1421)) ([f931544](https://github.com/googleapis/java-logging/commit/f9315443ba97104f1a23e5695ed72cb4bd2dfa10)) - Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.26 ([#​1420](https://github.com/googleapis/java-logging/issues/1420)) ([ff581a6](https://github.com/googleapis/java-logging/commit/ff581a67270777fe15e291794df3b49041c111e3)) - Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.26 ([#​1412](https://github.com/googleapis/java-logging/issues/1412)) ([bd9be4e](https://github.com/googleapis/java-logging/commit/bd9be4e8aecd5b7a532a6f2eb91151201a41334f)) ### [`v3.15.8`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3158-2023-08-08) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.14.0 ([#​1409](https://github.com/googleapis/java-logging/issues/1409)) ([f9af381](https://github.com/googleapis/java-logging/commit/f9af381b302aeefa401e5bc2f51d97c09f1484e5)) - Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.24 ([#​1411](https://github.com/googleapis/java-logging/issues/1411)) ([0487cdf](https://github.com/googleapis/java-logging/commit/0487cdff06c0ce9529d4c662991cf84ad25b9f40)) ### [`v3.15.7`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3157-2023-07-24) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.13.1 ([#​1395](https://github.com/googleapis/java-logging/issues/1395)) ([1a29b9d](https://github.com/googleapis/java-logging/commit/1a29b9da803238ff1dee0c69d9449d97d4324477)) - Update dependency org.junit.vintage:junit-vintage-engine to v5.10.0 ([#​1397](https://github.com/googleapis/java-logging/issues/1397)) ([f15d246](https://github.com/googleapis/java-logging/commit/f15d2462962c261be5726d5a68b6a1d31aa916fc)) ### [`v3.15.6`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3156-2023-07-17) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.13.0 ([#​1388](https://github.com/googleapis/java-logging/issues/1388)) ([03179b0](https://github.com/googleapis/java-logging/commit/03179b0697f17bfc114ff114e454464ed76f8d5b)) ### [`v3.15.5`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3155-2023-06-22) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.12.0 ([#​1382](https://github.com/googleapis/java-logging/issues/1382)) ([8241302](https://github.com/googleapis/java-logging/commit/824130227897ed17c5b8a1becf32a695d844b2bb)) ### [`v3.15.4`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3154-2023-06-22) ##### Dependencies - Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.23 ([#​1374](https://github.com/googleapis/java-logging/issues/1374)) ([dce3c4c](https://github.com/googleapis/java-logging/commit/dce3c4c9413c2d1674b6ddaf6fe9351a28f0673a)) - Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.23 ([#​1375](https://github.com/googleapis/java-logging/issues/1375)) ([a15c73c](https://github.com/googleapis/java-logging/commit/a15c73cbf8c22971f690d38fa87b6b349851d5c8)) ### [`v3.15.3`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3153-2023-06-08) ##### Bug Fixes - Remove org.jspecify dependency ([#​1364](https://github.com/googleapis/java-logging/issues/1364)) ([8138f46](https://github.com/googleapis/java-logging/commit/8138f463e170f1927280d3c083fa403b184fca47)) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.11.0 ([#​1367](https://github.com/googleapis/java-logging/issues/1367)) ([8cd2a53](https://github.com/googleapis/java-logging/commit/8cd2a53b396d4671514bf8cca1b4c2a62cfb457c)) ### [`v3.15.2`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3152-2023-05-30) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.10.1 ([#​1354](https://github.com/googleapis/java-logging/issues/1354)) ([b2f1111](https://github.com/googleapis/java-logging/commit/b2f1111fc8df71b40a85505e1b8209d315cc2c90)) - Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.22 ([#​1340](https://github.com/googleapis/java-logging/issues/1340)) ([b3b9d5f](https://github.com/googleapis/java-logging/commit/b3b9d5ffe078a3203725f3709c1840cb88f6e9ea)) ### [`v3.15.1`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#31517-2024-02-07) ##### Dependencies - Update dependency com.google.cloud:sdk-platform-java-config to v3.24.0 ([#​1526](https://github.com/googleapis/java-logging/issues/1526)) ([235f1aa](https://github.com/googleapis/java-logging/commit/235f1aa380d4f34f65d4cc957b3d26fa6a35e226)) ##### Documentation - Fix typo in code comments ([#​1520](https://github.com/googleapis/java-logging/issues/1520)) ([0440fc6](https://github.com/googleapis/java-logging/commit/0440fc6dfa3c5cd19f0d7d941af242872da1bbd3)) ### [`v3.15.0`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3150-2023-05-06) ##### Features - Log Analytics features of the Cloud Logging API ([#​1335](https://github.com/googleapis/java-logging/issues/1335)) ([7d43b80](https://github.com/googleapis/java-logging/commit/7d43b8049c71187fffcde39274db38ebb54cddfa)) ##### Dependencies - Update dependency org.junit.vintage:junit-vintage-engine to v5.9.3 ([#​1329](https://github.com/googleapis/java-logging/issues/1329)) ([dfb98f4](https://github.com/googleapis/java-logging/commit/dfb98f47098d4560fc3ef93f126af1770ae4faf6)) ### [`v3.14.9`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3149-2023-04-25) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.8.0 ([#​1326](https://github.com/googleapis/java-logging/issues/1326)) ([5a56f1b](https://github.com/googleapis/java-logging/commit/5a56f1b5087e65bc097d5c8a85d000d12bbbca8c)) - Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.21 ([#​1319](https://github.com/googleapis/java-logging/issues/1319)) ([5aef8d6](https://github.com/googleapis/java-logging/commit/5aef8d6492c9ebf8e989ee652dcf4a1d82cac8a4)) - Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.21 ([#​1320](https://github.com/googleapis/java-logging/issues/1320)) ([fc2d065](https://github.com/googleapis/java-logging/commit/fc2d0655e5b3d2ea9aedf1a4fd65fad8cf815462)) ### [`v3.14.8`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3148-2023-04-14) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.7.0 ([#​1318](https://github.com/googleapis/java-logging/issues/1318)) ([973d260](https://github.com/googleapis/java-logging/commit/973d2601bc1639b09d4dd89dd2b6f90cd1b779e9)) ### [`v3.14.7`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3147-2023-03-28) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.6.0 ([#​1308](https://github.com/googleapis/java-logging/issues/1308)) ([febcf49](https://github.com/googleapis/java-logging/commit/febcf49085ed0fb6be02aaf9108805dd4cce31b8)) ### [`v3.14.6`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3146-2023-03-20) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.5.0 ([#​1301](https://github.com/googleapis/java-logging/issues/1301)) ([9fa6f05](https://github.com/googleapis/java-logging/commit/9fa6f05a9ea1444d9abad4e0eae5fd854bb2608c)) ### [`v3.14.5`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3145-2023-03-02) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.4.0 ([#​1290](https://github.com/googleapis/java-logging/issues/1290)) ([84d42ae](https://github.com/googleapis/java-logging/commit/84d42ae6da926785462088de23947bc742f9dc0a)) ### [`v3.14.4`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3144-2023-02-21) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.3.0 ([#​1282](https://github.com/googleapis/java-logging/issues/1282)) ([58ac608](https://github.com/googleapis/java-logging/commit/58ac608ddbf5803bb394bb4833cf8af0bbb22e91)) - Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.20 ([#​1279](https://github.com/googleapis/java-logging/issues/1279)) ([296cce1](https://github.com/googleapis/java-logging/commit/296cce153cbd263e620c1fbb028466f62f7251dd)) - Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.20 ([#​1280](https://github.com/googleapis/java-logging/issues/1280)) ([6363196](https://github.com/googleapis/java-logging/commit/63631966432aac89883dd80c0087576454616cc2)) ### [`v3.14.3`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3143-2023-02-06) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.2.0 ([#​1269](https://github.com/googleapis/java-logging/issues/1269)) ([e196a80](https://github.com/googleapis/java-logging/commit/e196a802d0d004dcec2ddfb352ed9aebebe68810)) ### [`v3.14.2`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3142-2023-01-24) ##### Bug Fixes - **java:** Skip fixing poms for special modules ([#​1744](https://github.com/googleapis/java-logging/issues/1744)) ([#​1256](https://github.com/googleapis/java-logging/issues/1256)) ([09eeff0](https://github.com/googleapis/java-logging/commit/09eeff0b4608bad1e854252ff73688a867a071f1)) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.1.2 ([#​1258](https://github.com/googleapis/java-logging/issues/1258)) ([d4bc663](https://github.com/googleapis/java-logging/commit/d4bc663a0a0295594fb6333cf9bf2a6fd7a7b7e8)) ### [`v3.14.1`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3141-2023-01-10) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.1.1 ([#​1243](https://github.com/googleapis/java-logging/issues/1243)) ([fdf6b7a](https://github.com/googleapis/java-logging/commit/fdf6b7a44435286a47e1143a53a8307bb5b8fc63)) - Update dependency org.junit.vintage:junit-vintage-engine to v5.9.2 ([#​1245](https://github.com/googleapis/java-logging/issues/1245)) ([e73a704](https://github.com/googleapis/java-logging/commit/e73a704fa92d8f2abfe3b979e741b7f00ab89bca)) ### [`v3.14.0`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3140-2022-12-31) ##### Features - Next release from main branch is 3.14.0 ([#​1236](https://github.com/googleapis/java-logging/issues/1236)) ([125d94c](https://github.com/googleapis/java-logging/commit/125d94c9e88196ddd02d4a4acb49bf124cbda81a)) ##### Dependencies - Update dependency org.easymock:easymock to v5.1.0 ([#​1238](https://github.com/googleapis/java-logging/issues/1238)) ([d9a381a](https://github.com/googleapis/java-logging/commit/d9a381a1f2418e2d9a16afa110459e90a3c53d00)) ### [`v3.13.7`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3137-2022-12-19) ##### Bug Fixes - Install auth plugin on gke environment tests ([#​1232](https://github.com/googleapis/java-logging/issues/1232)) ([d18bbba](https://github.com/googleapis/java-logging/commit/d18bbba07bc44e1bdc231a9ad0eaa258fb94081d)) ### [`v3.13.6`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3136-2022-12-07) ##### Bug Fixes - Retrieving logentries pagewise always results in an exception ([#​1220](https://github.com/googleapis/java-logging/issues/1220)) ([662a439](https://github.com/googleapis/java-logging/commit/662a4394688661e7da2da51446cb3a73658ead62)) ### [`v3.13.5`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3135-2022-12-06) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.1.0 ([#​1219](https://github.com/googleapis/java-logging/issues/1219)) ([b54e015](https://github.com/googleapis/java-logging/commit/b54e015b13b52bfae0f57242a08c452a74cbfb29)) ### [`v3.13.4`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3134-2022-12-03) ##### Dependencies - Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.19 ([#​1214](https://github.com/googleapis/java-logging/issues/1214)) ([f104203](https://github.com/googleapis/java-logging/commit/f1042031e5f2ef2fd1c008e9d15a1c14d4831435)) - Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.19 ([#​1215](https://github.com/googleapis/java-logging/issues/1215)) ([7785a7c](https://github.com/googleapis/java-logging/commit/7785a7c9c1e1b975cd9ee723076983268631a50d)) ### [`v3.13.3`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3133-2022-12-01) ##### Bug Fixes - Add a partner team as approvers for PRs ([#​1211](https://github.com/googleapis/java-logging/issues/1211)) ([a69fd5e](https://github.com/googleapis/java-logging/commit/a69fd5e02b41e8818493797f8d4f64f75fdfb5e0)) - Need a way to disable flushing ([#​1206](https://github.com/googleapis/java-logging/issues/1206)) ([aa0c176](https://github.com/googleapis/java-logging/commit/aa0c176418534c1f07054ab10d66006fd88f6c39)) ### [`v3.13.2`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3132-2022-11-21) ##### Dependencies - Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.18 ([#​1201](https://github.com/googleapis/java-logging/issues/1201)) ([8b00108](https://github.com/googleapis/java-logging/commit/8b001089f2b0c387134f5fda7cea762433be1198)) - Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.18 ([#​1202](https://github.com/googleapis/java-logging/issues/1202)) ([c884361](https://github.com/googleapis/java-logging/commit/c884361df06a4eb42712d41e1cfeaa9cf75792b1)) ### [`v3.13.1`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3131-2022-11-16) ##### Bug Fixes - Fix failing instrumentation test preventing release ([#​1187](https://github.com/googleapis/java-logging/issues/1187)) ([04bb6c0](https://github.com/googleapis/java-logging/commit/04bb6c013f9e6f61976df43d6ebfc679524221af)) - Test failures due to RESOURCE_EXHAUSTED ([#​1197](https://github.com/googleapis/java-logging/issues/1197)) ([f74b86d](https://github.com/googleapis/java-logging/commit/f74b86d69db714884959dee7c1f4851df0a0c916)) - Wrong order of libraries info in instrumentation ([#​1196](https://github.com/googleapis/java-logging/issues/1196)) ([c3942ea](https://github.com/googleapis/java-logging/commit/c3942ea6a7ba3fe094e7971010cd30840675aacf)) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.6 ([#​1190](https://github.com/googleapis/java-logging/issues/1190)) ([01ebe33](https://github.com/googleapis/java-logging/commit/01ebe33363c9dd131de8ff90b87552934dfdd5a6)) - Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.17 ([#​1182](https://github.com/googleapis/java-logging/issues/1182)) ([d4f17ab](https://github.com/googleapis/java-logging/commit/d4f17ab247a9761632eb4b7503be3376c7353a29)) ### [`v3.13.0`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3130-2022-11-04) ##### Features - Add support for instrumentation version annotations ([#​1179](https://github.com/googleapis/java-logging/issues/1179)) ([0931446](https://github.com/googleapis/java-logging/commit/09314464f5170c5c261c3676c55bd28d9ee1b27f)) - Update release-please.yml with correct path ([#​1184](https://github.com/googleapis/java-logging/issues/1184)) ([9e75fe4](https://github.com/googleapis/java-logging/commit/9e75fe4c991db88a39cf5a865c2de081068a6f8f)) ##### Dependencies - Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.17 ([#​1181](https://github.com/googleapis/java-logging/issues/1181)) ([1830525](https://github.com/googleapis/java-logging/commit/18305255917815a859e5957f1b835e7f6a919925)) ### [`v3.12.1`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3121-2022-11-02) ##### Bug Fixes - Make partialSuccess to be true by default ([#​1173](https://github.com/googleapis/java-logging/issues/1173)) ([123960a](https://github.com/googleapis/java-logging/commit/123960ad31f9258d2dadd788029941bb984ae0fa)) ### [`v3.12.0`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3120-2022-10-27) ##### Features - Add support for batching configuration ([#​1164](https://github.com/googleapis/java-logging/issues/1164)) ([35be8d1](https://github.com/googleapis/java-logging/commit/35be8d1e931a8784c3263299033fc24d623087b5)) ### [`v3.11.10`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#31110-2022-10-26) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.5 ([#​1156](https://github.com/googleapis/java-logging/issues/1156)) ([413fa54](https://github.com/googleapis/java-logging/commit/413fa54ee4f38d5c28e91f54f4a5cd8e0407b08a)) - Update dependency org.easymock:easymock to v5.0.1 ([#​1159](https://github.com/googleapis/java-logging/issues/1159)) ([df8bfbe](https://github.com/googleapis/java-logging/commit/df8bfbeca6827e7d124a7880ae13e8bf6ec9c24c)) - Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.16 ([#​1144](https://github.com/googleapis/java-logging/issues/1144)) ([4836c7e](https://github.com/googleapis/java-logging/commit/4836c7e037bf6b15cb87d96770a12197cae9e57b)) - Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.16 ([#​1154](https://github.com/googleapis/java-logging/issues/1154)) ([a13ef9f](https://github.com/googleapis/java-logging/commit/a13ef9fa9c7d59a719534881cb4a995ead7e827d)) ### [`v3.11.9`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3119-2022-10-17) ##### Dependencies - Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.15 ([#​1145](https://github.com/googleapis/java-logging/issues/1145)) ([5bd000c](https://github.com/googleapis/java-logging/commit/5bd000c55e24d53667eca0bcb22ee3cbb9f13fe0)) ### [`v3.11.8`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3118-2022-10-15) ##### Dependencies - Update dependency org.easymock:easymock to v5 ([#​1139](https://github.com/googleapis/java-logging/issues/1139)) ([ad33e92](https://github.com/googleapis/java-logging/commit/ad33e92641907226004c82de2266afa99111a7d5)) ### [`v3.11.7`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3117-2022-10-12) ##### Bug Fixes - Add safe directory for environment tests ([#​1131](https://github.com/googleapis/java-logging/issues/1131)) ([a6ff3c6](https://github.com/googleapis/java-logging/commit/a6ff3c663647bb92ee542a60a3eb25b1392a5457)) ### [`v3.11.6`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3116-2022-10-07) ##### Bug Fixes - Logging SDK not applying quota limits for project set using quotaProjectId ([#​1125](https://github.com/googleapis/java-logging/issues/1125)) ([70fc6ee](https://github.com/googleapis/java-logging/commit/70fc6ee9c0fdc845a06e031ca82c50b8def2bb3b)) ### [`v3.11.5`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3115-2022-10-03) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.4 ([#​1120](https://github.com/googleapis/java-logging/issues/1120)) ([17a6e26](https://github.com/googleapis/java-logging/commit/17a6e26d955d9e8d6de9e7b68473f3d09a779d82)) ### [`v3.11.4`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3114-2022-10-01) ##### Bug Fixes - Add flush() calls in samples ([#​1116](https://github.com/googleapis/java-logging/issues/1116)) ([6d3cb5b](https://github.com/googleapis/java-logging/commit/6d3cb5bf787409d44ba8c0d4c20fb6810a8d1d88)) ### [`v3.11.3`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3113-2022-09-22) ##### Dependencies - Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.14 ([#​1079](https://github.com/googleapis/java-logging/issues/1079)) ([c08c4da](https://github.com/googleapis/java-logging/commit/c08c4da8cf91e4d168ad16038a460ac9ab2bed8e)) - Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.14 ([#​1080](https://github.com/googleapis/java-logging/issues/1080)) ([50c979b](https://github.com/googleapis/java-logging/commit/50c979b8d83f2b5f9c74bbb115b7c30e0326211d)) ### [`v3.11.2`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3112-2022-09-21) ##### Dependencies - Update dependency org.junit.vintage:junit-vintage-engine to v5.9.1 ([#​1075](https://github.com/googleapis/java-logging/issues/1075)) ([d38e9e0](https://github.com/googleapis/java-logging/commit/d38e9e0a8a9b4faa487a4ce169d0189e8718a88b)) ### [`v3.11.1`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#31110-2022-10-26) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.5 ([#​1156](https://github.com/googleapis/java-logging/issues/1156)) ([413fa54](https://github.com/googleapis/java-logging/commit/413fa54ee4f38d5c28e91f54f4a5cd8e0407b08a)) - Update dependency org.easymock:easymock to v5.0.1 ([#​1159](https://github.com/googleapis/java-logging/issues/1159)) ([df8bfbe](https://github.com/googleapis/java-logging/commit/df8bfbeca6827e7d124a7880ae13e8bf6ec9c24c)) - Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.16 ([#​1144](https://github.com/googleapis/java-logging/issues/1144)) ([4836c7e](https://github.com/googleapis/java-logging/commit/4836c7e037bf6b15cb87d96770a12197cae9e57b)) - Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.16 ([#​1154](https://github.com/googleapis/java-logging/issues/1154)) ([a13ef9f](https://github.com/googleapis/java-logging/commit/a13ef9fa9c7d59a719534881cb4a995ead7e827d)) ### [`v3.11.0`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3110-2022-09-14) ##### Features - Apply Google style recommendations ([#​1057](https://github.com/googleapis/java-logging/issues/1057)) ([bfef3d1](https://github.com/googleapis/java-logging/commit/bfef3d1a26b499c67d064dcdfd071ea8b6f1eb1b)) ##### Bug Fixes - Fix a couple linter issues on my stderr update ([#​1061](https://github.com/googleapis/java-logging/issues/1061)) ([fa1a18f](https://github.com/googleapis/java-logging/commit/fa1a18f6f6c0924c1dba51d8796a5bb3f43c40a7)) ### [`v3.10.7`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3107-2022-09-07) ##### Bug Fixes - Apply Google Java Code Clarity suggestions ([#​1044](https://github.com/googleapis/java-logging/issues/1044)) ([79e9d8d](https://github.com/googleapis/java-logging/commit/79e9d8d00b0b9be10a12d6bb37f387f6f8b356f2)) ### [`v3.10.6`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3106-2022-08-29) ##### Dependencies - use error_prone_annotation via shared deps ([#​1049](https://github.com/googleapis/java-logging/issues/1049)) ([0998b9b](https://github.com/googleapis/java-logging/commit/0998b9b83bc20a867dc22a68e103e4d3cac0f403)) ### [`v3.10.5`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3105-2022-08-25) ##### Bug Fixes - resource detection for 2nd gen of Cloud Functions works incorrectly ([#​1045](https://github.com/googleapis/java-logging/issues/1045)) ([dda1d0a](https://github.com/googleapis/java-logging/commit/dda1d0a48c3db18b46b8306c3304a79054e9b49c)) ### [`v3.10.4`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3104-2022-08-19) ##### Dependencies - update dependency com.google.errorprone:error_prone_annotations to v2.15.0 ([#​1037](https://github.com/googleapis/java-logging/issues/1037)) ([b2731c7](https://github.com/googleapis/java-logging/commit/b2731c70d1cdb3825e40fd80c771ea56777a1d27)) ### [`v3.10.3`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3103-2022-08-19) ##### Bug Fixes - Add explicit RunWith annotations on all tests ([#​1004](https://github.com/googleapis/java-logging/issues/1004)) ([342157f](https://github.com/googleapis/java-logging/commit/342157fc0b5819e50a7c53ddb03f6016042272a3)) - Apply fixes from Google error-prone ([#​1010](https://github.com/googleapis/java-logging/issues/1010)) ([2d57d78](https://github.com/googleapis/java-logging/commit/2d57d7886f4281e779c8a1dd54aa056c5a8be46a)) - Correct the JSON time field name ([#​1020](https://github.com/googleapis/java-logging/issues/1020)) ([8c9a218](https://github.com/googleapis/java-logging/commit/8c9a2184bc5f5a697345d9dc1f2afc9b8fd759b7)) - Fix flakiness in JSON test ([#​1006](https://github.com/googleapis/java-logging/issues/1006)) ([cafafe4](https://github.com/googleapis/java-logging/commit/cafafe44531001254e014da07211cc6694df97cc)) - Fix some typos ([#​1008](https://github.com/googleapis/java-logging/issues/1008)) ([5666ee0](https://github.com/googleapis/java-logging/commit/5666ee0dea87bba9eda9d48afee8924a074db6dd)) - Make LoggingHandler.logEntryFor extensible ([#​1021](https://github.com/googleapis/java-logging/issues/1021)) ([79baac6](https://github.com/googleapis/java-logging/commit/79baac68a60cca699088723864bf2de23fca0580)) - Replace Date with LocalDateTime ([#​1012](https://github.com/googleapis/java-logging/issues/1012)) ([765dd89](https://github.com/googleapis/java-logging/commit/765dd895df201966e7dea5851e29638dde115ce2)) - Supress unchecked conversion warnings ([#​1014](https://github.com/googleapis/java-logging/issues/1014)) ([a93ee23](https://github.com/googleapis/java-logging/commit/a93ee233112b28f21d9cc1ed724638455ece4dc0)) - Update the stub to avoid the deprecated \*Map method ([#​1002](https://github.com/googleapis/java-logging/issues/1002)) ([49bf5b4](https://github.com/googleapis/java-logging/commit/49bf5b41c354089ad213ff1ce5d3f42aa3d1d02e)) ##### Dependencies - update dependency org.junit.vintage:junit-vintage-engine to v5.9.0 ([#​1016](https://github.com/googleapis/java-logging/issues/1016)) ([e5f0b55](https://github.com/googleapis/java-logging/commit/e5f0b55acdcfb12e79a69eb213c60e237c9e630a)) ### [`v3.10.2`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3102-2022-08-08) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v3 ([#​1018](https://github.com/googleapis/java-logging/issues/1018)) ([17efd5c](https://github.com/googleapis/java-logging/commit/17efd5cdcd84ef894afc27afc665661eefb5a22b)) - update dependency org.graalvm.buildtools:junit-platform-native to v0.9.13 ([#​992](https://github.com/googleapis/java-logging/issues/992)) ([3856e4f](https://github.com/googleapis/java-logging/commit/3856e4fa5105f1da37c98a2fbb5ff5dc9166d41b)) - update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.13 ([#​993](https://github.com/googleapis/java-logging/issues/993)) ([a94e428](https://github.com/googleapis/java-logging/commit/a94e42820261caf063b7a8f43df594b873084d7b)) ### [`v3.10.0`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3100-2022-06-25) ##### Features - Add support for library instrumentation ([#​979](https://github.com/googleapis/java-logging/issues/979)) ([2749974](https://github.com/googleapis/java-logging/commit/27499744f37a5fddcc2d6825c69481374e78829c)) ##### Documentation - **sample:** update README for native image sample ([#​974](https://github.com/googleapis/java-logging/issues/974)) ([1512487](https://github.com/googleapis/java-logging/commit/1512487e60141ed5c61a3a60fcca29f52f4ec141)) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v2.13.0 ([#​980](https://github.com/googleapis/java-logging/issues/980)) ([18acf1f](https://github.com/googleapis/java-logging/commit/18acf1f64d836ca3fb1b8f4b558ef21d728c391f)) - update dependency org.graalvm.buildtools:junit-platform-native to v0.9.12 ([#​976](https://github.com/googleapis/java-logging/issues/976)) ([01d3213](https://github.com/googleapis/java-logging/commit/01d3213b9e010c3ae3843e5a05bbd01b2961b454)) ### [`v3.9.0`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#390-2022-05-19) ##### Features - add build scripts for native image testing in Java 17 ([#​1440](https://github.com/googleapis/java-logging/issues/1440)) ([#​962](https://github.com/googleapis/java-logging/issues/962)) ([4edb7e4](https://github.com/googleapis/java-logging/commit/4edb7e46e313db88f5400ccada019ac01a51dee4)) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v2.11.0 ([#​960](https://github.com/googleapis/java-logging/issues/960)) ([c969b4c](https://github.com/googleapis/java-logging/commit/c969b4cddb54a4b7f25e7a5f8a4c665fde1ece47)) - update dependency com.google.cloud:google-cloud-shared-dependencies to v2.12.0 ([#​966](https://github.com/googleapis/java-logging/issues/966)) ([c95840b](https://github.com/googleapis/java-logging/commit/c95840bc83316c6064f99908da38952179ce4a54)) ### [`v3.8.0`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#380-2022-05-16) ##### Features - next release from main branch is 3.7.0 ([#​957](https://github.com/googleapis/java-logging/issues/957)) ([576a93e](https://github.com/googleapis/java-logging/commit/576a93e2bba9939425e6fce22b13b6580565689c)) ##### [3.7.6](https://github.com/googleapis/java-logging/compare/v3.7.5...v3.7.6) (2022-05-03) ##### Documentation - Add link to interactive tutorial ([#​952](https://github.com/googleapis/java-logging/issues/952)) ([934df5a](https://github.com/googleapis/java-logging/commit/934df5ad5b29f11e781b8b8a4660f89198bb06d1)) - Add link to interactive walkthrough ([#​950](https://github.com/googleapis/java-logging/issues/950)) ([33ae197](https://github.com/googleapis/java-logging/commit/33ae197627d63d6c153f9bbb0076a071029cf686)) - **sample:** removing unnecessary native-image-support dependency ([#​947](https://github.com/googleapis/java-logging/issues/947)) ([75331a6](https://github.com/googleapis/java-logging/commit/75331a6aa754ed93171832f59a5c0012e7cb7e05)) ##### [3.7.5](https://github.com/googleapis/java-logging/compare/v3.7.4...v3.7.5) (2022-04-15) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v2.10.0 ([#​930](https://github.com/googleapis/java-logging/issues/930)) ([074c6c7](https://github.com/googleapis/java-logging/commit/074c6c791059f4503a4103d8387f6b0b062db3a3)) - update dependency com.google.cloud:native-image-support to v0.13.1 ([#​931](https://github.com/googleapis/java-logging/issues/931)) ([2e4b4d0](https://github.com/googleapis/java-logging/commit/2e4b4d09192a75f3e9107c143c9e74fa05201e1a)) ##### [3.7.4](https://github.com/googleapis/java-logging/compare/v3.7.3...v3.7.4) (2022-03-31) ##### Bug Fixes - Async logging should not rethrow error in onFailure callback ([#​923](https://github.com/googleapis/java-logging/issues/923)) ([1adf867](https://github.com/googleapis/java-logging/commit/1adf86722361ce946c733de87cb217fa2f65bfd5)) - Async logging should not rethrow error in onFailure callback correction ([#​925](https://github.com/googleapis/java-logging/issues/925)) ([da92518](https://github.com/googleapis/java-logging/commit/da925189d808833f1b7cc7a1934bcf66f51663be)) ##### [3.7.3](https://github.com/googleapis/java-logging/compare/v3.7.2...v3.7.3) (2022-03-29) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v2.9.0 ([#​917](https://github.com/googleapis/java-logging/issues/917)) ([b42717e](https://github.com/googleapis/java-logging/commit/b42717e8e2d825cee9918c48ae4b7628f225f6be)) - update dependency com.google.cloud:native-image-support to v0.12.11 ([#​916](https://github.com/googleapis/java-logging/issues/916)) ([6d6bbef](https://github.com/googleapis/java-logging/commit/6d6bbef4bfb0802677e2773ffd95047c71814613)) ##### [3.7.2](https://github.com/googleapis/java-logging/compare/v3.7.1...v3.7.2) (2022-03-24) ##### Documentation - **sample:** Add sample for Native Image support in Logging ([#​880](https://github.com/googleapis/java-logging/issues/880)) ([7e59bf3](https://github.com/googleapis/java-logging/commit/7e59bf3c3676ebc6bfcdf6e951d3d8f0b6c1589f)) ##### Dependencies - update dependency com.google.cloud:native-image-support to v0.12.10 ([#​903](https://github.com/googleapis/java-logging/issues/903)) ([b692e02](https://github.com/googleapis/java-logging/commit/b692e0247ea61b290aad0f0245184fd3c026629b)) - update dependency org.graalvm.buildtools:junit-platform-native to v0.9.10 ([#​904](https://github.com/googleapis/java-logging/issues/904)) ([d834a0a](https://github.com/googleapis/java-logging/commit/d834a0a5f10cda8a1327714f8a93c0c6e41143df)) - update dependency org.graalvm.buildtools:junit-platform-native to v0.9.11 ([#​912](https://github.com/googleapis/java-logging/issues/912)) ([c1d6559](https://github.com/googleapis/java-logging/commit/c1d65597ee8ce95dc6276c4f19d13a922c819f0d)) - update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.10 ([#​905](https://github.com/googleapis/java-logging/issues/905)) ([3c44e3e](https://github.com/googleapis/java-logging/commit/3c44e3ed51c52a84b5a5a517a8b8a105f083532c)) - update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.11 ([#​911](https://github.com/googleapis/java-logging/issues/911)) ([3721ef5](https://github.com/googleapis/java-logging/commit/3721ef53305e27afb5bad685a10eb8901988c7b9)) ##### [3.7.1](https://github.com/googleapis/java-logging/compare/v3.7.0...v3.7.1) (2022-03-03) ##### Bug Fixes - do not use GAE_RUNTIME for GAE environment detection ([#​891](https://github.com/googleapis/java-logging/issues/891)) ([19e9abb](https://github.com/googleapis/java-logging/commit/19e9abb389ed98cdcca7ef0dfa5b07e69568f6f9)) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v2.8.0 ([#​889](https://github.com/googleapis/java-logging/issues/889)) ([4885440](https://github.com/googleapis/java-logging/commit/48854405838151a4179f6d1727fc925b06d1727d)) ### [`v3.7.7`](https://github.com/googleapis/java-logging/releases/tag/v3.7.7) ##### Dependencies - Regenerating with new Protobuf (3.7.x) ([#​1130](https://github.com/googleapis/java-logging/issues/1130)) ([feaf255](https://github.com/googleapis/java-logging/commit/feaf25552b67af707f5c8509dc554aff5799095f)) ### [`v3.7.6`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#376-2022-05-03) ### [`v3.7.5`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#375-2022-04-15) ### [`v3.7.4`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#374-2022-03-31) ### [`v3.7.3`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#373-2022-03-29) ### [`v3.7.2`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#372-2022-03-24) ### [`v3.7.1`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#371-2022-03-03) ### [`v3.7.0`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#370-2022-02-28) ##### Features - KMS configuration in settings ([#​877](https://github.com/googleapis/java-logging/issues/877)) ([27c199b](https://github.com/googleapis/java-logging/commit/27c199ba91b8423934788cbd6cb8e449dfc7b115)) - Update Logging API with latest changes ([27c199b](https://github.com/googleapis/java-logging/commit/27c199ba91b8423934788cbd6cb8e449dfc7b115)) ##### Bug Fixes - **deps:** set gson via java-shared-deps ([#​878](https://github.com/googleapis/java-logging/issues/878)) ([5c97fea](https://github.com/googleapis/java-logging/commit/5c97feadf1d4fd80618cdcee19e02e4cbabfb1ea)) ##### [3.6.4](https://github.com/googleapis/java-logging/compare/v3.6.3...v3.6.4) (2022-02-15) ##### Dependencies - update dependency com.google.code.gson:gson to v2.9.0 ([#​868](https://github.com/googleapis/java-logging/issues/868)) ([f3d6f3f](https://github.com/googleapis/java-logging/commit/f3d6f3f0d29d1b56f8c8fd191b4b946bc31f6e10)) ##### [3.6.3](https://github.com/googleapis/java-logging/compare/v3.6.2...v3.6.3) (2022-02-11) ##### Dependencies - update actions/github-script action to v6 ([#​865](https://github.com/googleapis/java-logging/issues/865)) ([2d05dc8](https://github.com/googleapis/java-logging/commit/2d05dc81b3b56ae6b5205c26719bfd3985c5b9d7)) ##### [3.6.2](https://github.com/googleapis/java-logging/compare/v3.6.1...v3.6.2) (2022-02-03) ##### Dependencies - **java:** update actions/github-script action to v5 ([#​1339](https://github.com/googleapis/java-logging/issues/1339)) ([#​851](https://github.com/googleapis/java-logging/issues/851)) ([7a5ee11](https://github.com/googleapis/java-logging/commit/7a5ee11ab17aaa36c688e1c631a4c9a65eae6352)) - update actions/github-script action to v5 ([#​849](https://github.com/googleapis/java-logging/issues/849)) ([286728a](https://github.com/googleapis/java-logging/commit/286728a941b34a67e3dccb119d6d2c13830e5c38)) - update dependency com.google.cloud:google-cloud-shared-dependencies to v2.7.0 ([#​852](https://github.com/googleapis/java-logging/issues/852)) ([eb2eef5](https://github.com/googleapis/java-logging/commit/eb2eef553ee6e9f9880f06fd6185e90367063d86)) ##### [3.6.1](https://github.com/googleapis/java-logging/compare/v3.6.0...v3.6.1) (2022-01-18) ##### Bug Fixes - use initialized logging option in constructor ([#​843](https://github.com/googleapis/java-logging/issues/843)) ([99fb678](https://github.com/googleapis/java-logging/commit/99fb6782f2a37be569309cc37591ce7b9c86092b)) ##### Dependencies - update dependency org.easymock:easymock to v4 ([#​830](https://github.com/googleapis/java-logging/issues/830)) ([21c2436](https://github.com/googleapis/java-logging/commit/21c243619e3b00891a0ff828e0f3e087b6e17d4b)) ### [`v3.6.4`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#364-2022-02-15) ### [`v3.6.3`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#363-2022-02-11) ### [`v3.6.2`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#362-2022-02-03) ### [`v3.6.1`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#361-2022-01-18) ### [`v3.6.0`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#360-2022-01-07) ##### Features - enable auto-population of missing metadata in logs and opting logs redirection to stdout in JUL handler ([#​808](https://www.github.com/googleapis/java-logging/issues/808)) ([bb25d5d](https://www.github.com/googleapis/java-logging/commit/bb25d5def9de42fa6e0de5658154fbf2e72e8fba)) ##### [3.5.3](https://www.github.com/googleapis/java-logging/compare/v3.5.2...v3.5.3) (2022-01-07) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v2.6.0 ([#​823](https://www.github.com/googleapis/java-logging/issues/823)) ([2816bb3](https://www.github.com/googleapis/java-logging/commit/2816bb37fc57be241b78d85a8862d8e7c9c47221)) ##### [3.5.2](https://www.github.com/googleapis/java-logging/compare/v3.5.1...v3.5.2) (2021-12-28) ##### Bug Fixes - enforce w3c trace context value validation ([#​777](https://www.github.com/googleapis/java-logging/issues/777)) ([0150655](https://www.github.com/googleapis/java-logging/commit/0150655891537a8de3f3debb5ec5c49f4a6de146)) - **java:** add -ntp flag to native image testing command ([#​1299](https://www.github.com/googleapis/java-logging/issues/1299)) ([#​780](https://www.github.com/googleapis/java-logging/issues/780)) ([3f70b62](https://www.github.com/googleapis/java-logging/commit/3f70b6261b606c03307eb8ca5dbea14526d1b054)) - Rename LogDestinationName.getId() to LogDestinationName.getDestinationId() ([#​797](https://www.github.com/googleapis/java-logging/issues/797)) ([62e7838](https://www.github.com/googleapis/java-logging/commit/62e783839b9a7c29a05bfeac55189bd8ea1bdfd6)) - Rename staleness.critical config parameter to staleness.extraold ([#​781](https://www.github.com/googleapis/java-logging/issues/781)) ([3083bca](https://www.github.com/googleapis/java-logging/commit/3083bca8fb388092c5abfbe5efc58d1de757bb00)) ##### [3.5.1](https://www.github.com/googleapis/java-logging/compare/v3.5.0...v3.5.1) (2021-12-03) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v2.5.1 ([#​773](https://www.github.com/googleapis/java-logging/issues/773)) ([56907a4](https://www.github.com/googleapis/java-logging/commit/56907a4b1d3a529655f3845bd1e46f308977b436)) ### [`v3.5.3`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#353-2022-01-07) ### [`v3.5.2`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#352-2021-12-28) ### [`v3.5.1`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#351-2021-12-03) ### [`v3.5.0`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#350-2021-11-24) ##### Features - Enable auto-label bot to mark stale pull requests ([#​758](https://www.github.com/googleapis/java-logging/issues/758)) ([23f7fa5](https://www.github.com/googleapis/java-logging/commit/23f7fa559add710b96bad90002fcebef8ac0e5c9)) - implement context handler to store HTTP request and tracing information ([#​752](https://www.github.com/googleapis/java-logging/issues/752)) ([86223ff](https://www.github.com/googleapis/java-logging/commit/86223ff36f9c4b147f322ba646607727b92fbe7b)) ##### Bug Fixes - handle null pointer when parsing metadata attributes ([#​759](https://www.github.com/googleapis/java-logging/issues/759)) ([e8cf6f9](https://www.github.com/googleapis/java-logging/commit/e8cf6f91b56529d28cc002cedb0976ce952e0e0e)) - modify list log entries example documentation ([#​740](https://www.github.com/googleapis/java-logging/issues/740)) ([790fb1a](https://www.github.com/googleapis/java-logging/commit/790fb1a342d63704298d16a576f6cce15bfd4398)) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v2.5.0 ([#​743](https://www.github.com/googleapis/java-logging/issues/743)) ([c003417](https://www.github.com/googleapis/java-logging/commit/c003417aade41e025082f47f2185e66707bffcff)) ### [`v3.4.0`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#340-2021-11-06) ##### Features - Add an ability to delete logs based on project, folder, organization or billing account resource names ([#​731](https://www.github.com/googleapis/java-logging/issues/731)) ([25673fd](https://www.github.com/googleapis/java-logging/commit/25673fdc2622f19926e3634ae187182f64efec18)) - Add destination property into LogEntry ([#​720](https://www.github.com/googleapis/java-logging/issues/720)) ([43ea0b4](https://www.github.com/googleapis/java-logging/commit/43ea0b465b29c22e7eb439811f19ada90b9d23dd)) - add population of the SourceLocation from context ([#​721](https://www.github.com/googleapis/java-logging/issues/721)) ([1fa3a6e](https://www.github.com/googleapis/java-logging/commit/1fa3a6e286336a861f83d9b59f28f309fc846d70)) - E </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 6pm every weekday,before 2am every weekday" in timezone Australia/Melbourne, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). GitOrigin-RevId: d258e2fb591810de162fa68bc12f5c5743b9cb2e
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #1595 ☕️
This change is to add OpenTelemetry support for java-logging library and fix trace-span correlation issue.
More context about this change: https://b.corp.google.com/issues/270985947
Here are the overall and java-logging design doc for this change:
go/logging-otel-span-support
go/logging-otel-span-support-java