Skip to content

Some logging.debug does not lazily format #3319

@sunmy2019

Description

@sunmy2019

Describe the feature

Currently, 22 over 144 logger.debug calls use f-strings. This can cause some unnecessary runtime costs.

https://docs.astral.sh/ruff/rules/logging-f-string/

I want to convert these to lazily formatted. I can open a PR if it is okay.

Use Case

It improves performance.

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

SDK version used

1.35.76

Environment details (OS name and version, etc.)

Not applicable

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestThis issue requests a feature.loggingp2This is a standard priority issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions