Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

Allow customizing written log entries by exposing parameters via appender configuration #551

Description

@minherz

Is your feature request related to a problem? Please describe.
Writing log entries can be customized by providing user metadata as labels (a map of key, value pairs), customizing the logger name and which project it is located. The data cannot be customized when logging using the appender.

Describe the solution you'd like
It would be great to use logback configuration to provide these values (user labels, log name and custom project location) per appender instance.

Describe alternatives you've considered
There are no good alternative if the logback appender is used.

Additional context
There is PR #371 that partially addresses the problem. Unfortunately, the current set of WriteOption options does not allow to customize the log location for the LOG_NAME option.

Metadata

Metadata

Assignees

Labels

api: loggingIssues related to the googleapis/java-logging-logback 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