etils icon indicating copy to clipboard operation
etils copied to clipboard

Fix duplicate logging when better_logging is called multiple times

Open CodeVishal-17 opened this issue 10 months ago • 3 comments

Fixes #756

Make _better_logging idempotent to avoid adding duplicate logging handlers when better_logging() is invoked more than once.

CodeVishal-17 avatar Jan 05 '26 14:01 CodeVishal-17

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar Jan 05 '26 14:01 google-cla[bot]

What's the status of this PR? The double-logging is bugging us quite a bit and it would be nice to have this be fixed. Happy to help if there's anything that still needs to be done.

hartikainen avatar Apr 11 '26 18:04 hartikainen

Thanks for checking!

I’ve signed the CLA and I'm waiting for the remaining checks to complete.
Please let me know if anything else is needed from my side 🙂

CodeVishal-17 avatar Apr 12 '26 18:04 CodeVishal-17