Skip to content

[Bug]: logFormat=json creates events without contextual information #7574

@hafe

Description

@hafe

Version

edge

What Kubernetes platforms are you running on?

Kind

Steps to reproduce

No file and line present in NIC logs when logFormat is "json". File and line are present when "glog" is configured.

Structured logging in JSON is nice but without file and line it is not very practial to use.

Metadata

Metadata

Assignees

Labels

backlogPull requests/issues that are backlog itemsbugAn issue reporting a potential bug

Type

No type

Projects

Status

Done 🚀

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions