Skip to content

Commit c47ffd3

Browse files
committed
Set Python root logger level to DEBUG
Changed the root logger's level from its effective level to DEBUG in the embedded Python logging configuration. This ensures all debug messages are captured during execution.
1 parent 9e73a21 commit c47ffd3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/serious_python_android/lib/src/cpython.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ if not getattr(sys, "__serious_python_logcat_configured__", False):
5656
handler.setFormatter(logging.Formatter("%(levelname)s %(message)s"))
5757
root = logging.getLogger()
5858
root.handlers[:] = [handler]
59-
root.setLevel(logging.getLogger().getEffectiveLevel())
59+
root.setLevel(logging.DEBUG)
6060
''';
6161

6262
CPython getCPython(String dynamicLibPath) {

0 commit comments

Comments
 (0)