Skip to content

Commit c80e3dc

Browse files
committed
Fix the logger for the Broadcast channel
The log messages were missing the level, timestamp, etc.) because we were using the wrong function to get the logger. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 8e1fc11 commit c80e3dc

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

RELEASE_NOTES.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
# Frequenz channels Release Notes
22

3-
## Summary
4-
5-
<!-- Here goes a general summary of what this release is about -->
6-
7-
## Upgrading
8-
9-
<!-- Here goes notes on how to upgrade from previous versions, including deprecations and what they should be replaced with -->
10-
11-
## New Features
12-
13-
<!-- Here goes the main new features and examples or instructions on how to use them -->
14-
153
## Bug Fixes
164

17-
<!-- Here goes notable bug fixes that are worth a special mention or explanation -->
5+
- Fix logger for the `Broadcast` channel (the log messages were missing the level, timestamp, etc.).

src/frequenz/channels/_broadcast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from ._receiver import Receiver, ReceiverStoppedError
1717
from ._sender import Sender, SenderError
1818

19-
_logger = logging.Logger(__name__)
19+
_logger = logging.getLogger(__name__)
2020

2121

2222
class Broadcast(Generic[ChannelMessageT]):

0 commit comments

Comments
 (0)