[issue38921] Max Recursion Depth Reached in Logging Library

2020-01-22 Thread Vinay Sajip
Vinay Sajip added the comment: @yang, thanks for the analysis - spot on. Closing, as this is a bug in the reporter's code and not in logging. -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue38921] Max Recursion Depth Reached in Logging Library

2020-01-17 Thread yang
yang added the comment: You assigned a handler to a variable `formatter`, and then called `setFormatter(formatter)`, but `formatter` is in fact a handler. The two classes `Formatter` and `Handler` happen to have a same name method `format` which is called when logging. So what happend is the

[issue38921] Max Recursion Depth Reached in Logging Library

2020-01-14 Thread Joy
Joy added the comment: This script should produce the following error: Traceback (most recent call last): File "logging_test_script.py", line 70, in testobj.main() File "logging_test_script.py", line 62, in main Logger.main_logger.info('Adding a line into {}'.format(source)) Fil

[issue38921] Max Recursion Depth Reached in Logging Library

2019-12-11 Thread Joy
Joy added the comment: Yes, still working on a script for this bug. -- status: pending -> open ___ Python tracker ___ ___ Python-bu

[issue38921] Max Recursion Depth Reached in Logging Library

2019-12-05 Thread Vinay Sajip
Vinay Sajip added the comment: I'll flag this as pending, and close in a week if no minimal needed-to-reproduce script is posted. Let me know if you are working on producing such a minimal script and need more time. -- status: open -> pending ___

[issue38921] Max Recursion Depth Reached in Logging Library

2019-11-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please attach a simple script to reproduce the issue? -- nosy: +vinay.sajip, xtreak ___ Python tracker ___

[issue38921] Max Recursion Depth Reached in Logging Library

2019-11-26 Thread Joy
New submission from Joy : Seeing an issue with the logger fmt not setting correctly in the Handler class. Our code calls format many times which works for a while and then we receive the following errors: [3206] 2019/11/26 12:42:31.011> [ERROR] File "/usr/lib/python3.7/logging/__init__.py"