Skip to content

Sugar logger WithName not assign #4143

@qicz

Description

@qicz

Description:

the sugar logger API can not assign the custom name.

Repro steps:

Include sample requests, environment, etc. All data and inputs
required to reproduce the bug.

Note: If there are privacy concerns, sanitize the data prior to
sharing.

Environment:

Include the environment like gateway version, envoy version and so on.

Logs:

Include the access logs and the Envoy logs.

current version logs like:

2024-09-04T09:47:24.082+0800	INFO	infrastructure	logging/log_test.go:66	info message
2024-09-04T09:47:24.082+0800	DEBUG	logging/log_test.go:67	debug message

fixed: the sugar named

2024-09-04T09:48:50.737+0800	INFO	infrastructure	logging/log_test.go:66	info message
2024-09-04T09:48:50.738+0800	DEBUG	infrastructure	logging/log_test.go:67	debug message

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions