FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: allow opt-out auto-population of the log entry metadata on write() by minherz · Pull Request #798 · googleapis/java-logging · GitHub

This repository was archived by the owner on Feb 6, 2026. It is now read-only.
/ java-logging Public archive

feat: allow opt-out auto-population of the log entry metadata on write() - #798

Merged
minherz merged 3 commits into
minher/structured_loggingfrom
minherz/689
Dec 16, 2021
Merged

feat: allow opt-out auto-population of the log entry metadata on write()#798
minherz merged 3 commits into
minher/structured_loggingfrom
minherz/689

Conversation

minherz commented Dec 15, 2021

Copy link
Copy Markdown
Contributor

Provides opt-out configuration on the Logging instance and Logging.write() API levels to opt-out automatically populate empty metadata fields of the log entries being submitted for writing.

Fixes #689

allow to opt-out auto populate log entry metadata on write in the write()
API and Logging instance levels.
minherz requested review from a team December 15, 2021 12:24
product-auto-label Bot added the api: logging Issues related to the googleapis/java-logging API. label Dec 15, 2021

losalex left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Test need to be added

Test WriteOption to out-out  auto populating metadata.
Test LoggingOption to out-out  auto populating metadata.
Test default LoggingOption for auto populating metadata.
Refactor LoggingOptions tests.
Refactor LoggingOptions auto populate metadata getter method.

losalex left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM

minherz merged commit 97c36a6 into minher/structured_logging Dec 16, 2021
minherz deleted the minherz/689 branch December 16, 2021 17:54
minherz added a commit that referenced this pull request Dec 30, 2021
…e() (#798)

Allows to opt-out auto populate log entry metadata on write in the write() API and Logging instance levels.
Tests WriteOption to out-out  auto populating metadata.
Tests LoggingOption to out-out  auto populating metadata.
Tests default LoggingOption for auto populating metadata.
Refactors LoggingOptions tests.
Refactors LoggingOptions auto populate metadata getter method.
Fixes cast compilation warning.
minherz added a commit that referenced this pull request Jan 4, 2022
…e() (#798)

Allows to opt-out auto populate log entry metadata on write in the write() API and Logging instance levels.
Tests WriteOption to out-out  auto populating metadata.
Tests LoggingOption to out-out  auto populating metadata.
Tests default LoggingOption for auto populating metadata.
Refactors LoggingOptions tests.
Refactors LoggingOptions auto populate metadata getter method.
Fixes cast compilation warning.
minherz added a commit that referenced this pull request Jan 5, 2022
…e() (#798)

Allows to opt-out auto populate log entry metadata on write in the write() API and Logging instance levels.
Tests WriteOption to out-out  auto populating metadata.
Tests LoggingOption to out-out  auto populating metadata.
Tests default LoggingOption for auto populating metadata.
Refactors LoggingOptions tests.
Refactors LoggingOptions auto populate metadata getter method.
Fixes cast compilation warning.
minherz added a commit that referenced this pull request Jan 7, 2022
…ogs redirection to stdout in JUL handler (#808)

Aggregates the following work:
- #821
- #812
- #807
- #803
- #798

Fixes #689, #691, #799 and #800

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: logging Issues related to the googleapis/java-logging API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL