GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — structured logging: opt-out automatic population of metadata when writing log entries · Issue #689 · googleapis/java-logging

This repository was archived by the owner on Feb 6, 2026. It is now read-only.
This repository was archived by the owner on Feb 6, 2026. It is now read-only.

structured logging: opt-out automatic population of metadata when writing log entries #689

Copy link
Copy link
Closed
#808
Closed
structured logging: opt-out automatic population of metadata when writing log entries#689
#808
Copy link
Assignees
minherz
Labels
api: loggingIssues related to the googleapis/java-logging API.lang: javaIssues specific to Java.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Description

@minherz
minherz
opened on Sep 27, 2021
Issue body actions

Is your feature request related to a problem? Please describe.
Support the mode of work when logging library does not auto-populate log entries with additional metadata details.

Describe the solution you'd like
All fields except to payload of all log entries passed to the write() API call will be auto-populated unless they already have values. A caller should be able to opt-out this behavior by providing a WriteOption.autoPopulateMetadata() flag or by using LoggingOptions.Builder.setAutoPopulateMetadata() to opt-out on the level of the Logging instance.

Activity

  1. minherz
    added
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    lang: javaIssues specific to Java.
    on Sep 27, 2021
  2. minherz
    self-assigned this
    on Sep 27, 2021
  3. product-auto-label
    added
    api: loggingIssues related to the googleapis/java-logging API.
    on Sep 27, 2021
  4. minherz commented on Sep 27, 2021

    @minherz
    minherz
    on Sep 27, 2021
    ContributorAuthor
    More actions

    Related issues #685, #686, #687, #688, #689, #690, #691

  5. minherz
    changed the title [-]structured logging: opt-out disable structured logging[/-] [+]structured logging: opt-out automatic population of metadata when writing log entries[/+] on Dec 15, 2021
  6. minherz
    closed this as completedin #808on Jan 7, 2022
  7. minherz
    added a commit that references this issue on Jan 7, 2022

    feat: enable auto-population of missing metadata in logs and opting l…

    This issue will close once commit bb25d5d is merged into the 'main' branch.
    bb25d5d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @minherz
    minherz

Labels

api: loggingIssues related to the googleapis/java-logging API.lang: javaIssues specific to Java.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.