File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0
10
10
`Unreleased `_
11
11
=============
12
12
13
+ Changed
14
+ -------
15
+ * Log to stderr instead of stdout when ``BLEAK_LOGGING `` is enabled.
16
+
13
17
`0.22.3 `_ (2024-10-05)
14
18
======================
15
19
Original file line number Diff line number Diff line change 70
70
_logger .addHandler (logging .NullHandler ())
71
71
if bool (os .environ .get ("BLEAK_LOGGING" , False )):
72
72
FORMAT = "%(asctime)-15s %(name)-8s %(threadName)s %(levelname)s: %(message)s"
73
- handler = logging .StreamHandler (sys .stdout )
73
+ handler = logging .StreamHandler (sys .stderr )
74
74
handler .setLevel (logging .DEBUG )
75
75
handler .setFormatter (logging .Formatter (fmt = FORMAT ))
76
76
_logger .addHandler (handler )
You can’t perform that action at this time.
0 commit comments