Skip to content

Commit ddd850b

Browse files
committed
Remove logcat propagate setting in Python logging config
Deleted the line setting 'logcat.propagate = False' from the embedded Python logging configuration. This may allow log messages to propagate to ancestor loggers, aligning with default logging behavior.
1 parent 0f9aa9f commit ddd850b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/serious_python_android/lib/src/cpython.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ if not getattr(sys, "__serious_python_logcat_configured__", False):
5555
handler = logging.StreamHandler(sys.stderr)
5656
handler.setFormatter(logging.Formatter("%(levelname)s %(message)s"))
5757
logcat = logging.getLogger("logcat")
58-
logcat.propagate = False
5958
logcat.handlers[:] = [handler]
6059
logcat.setLevel(logging.ERROR)
6160
''';

0 commit comments

Comments
 (0)