Skip to content

Logging - json format / custom format #2069

Description

@GautamSinghania

Feature Request

Describe the problem the feature is intended to solve

My organization allows logs to be persisted only if they follow certain standards. As the current Tensorflow logs cannot be formatted, we do not have a way of persisting these logs.

Describe the solution

I want to control the format of my logs so that I can follow the organization standards. Either one of the following will solve my usecase:

  • Convert the log to json format
  • Customize the log to follow a certain format

As an added feature, it would be really helpful if I can access request specific elements like tracers in these logs.

Describe alternatives you've considered

If Python logging was integrated in Tensorflow serving, we could follow that to control the logs.

Additional context

Version: 2.8.2-gpu

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions