Make the module compatible w/ ``python-json-logger==3.3.*`` (importing ``jsonlogger`` displays a deprecation warning)
Co-authored-by: SilvioC2C <87646954+SilvioC2C@users.noreply.github.com>
Since Python 3.10, the use of 'threading.currentThread()' is deprecated
and generates a warning, and generating this warning log was in turn
entering in the `logging_json` mechanism, triggering an exception:
RecursionError: maximum recursion depth exceeded while calling a Python object