[Telemetry] Fix a few more potential deadlocks.
This builds on https://codereview.chromium.org/385653002/ . Many functions in Python's logging module grab a lock internally. Some appear to do so before converting the provided message to a string via its __str__ method. Calling an object's __str__ method before calling a logging funciton allows anything called by the __str__ method to log without the risk of hitting a deadlock. BUG=392869 Review URL: https://codereview.chromium.org/383793002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282485 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment