Skip to content

Commit 655529b

Browse files
committed
Sort arguments in LoggingConfigUpdatingActor constructor
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 0a11b86 commit 655529b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/frequenz/sdk/config/_logging_actor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,16 +135,16 @@ def __init__(
135135
self,
136136
*,
137137
config_recv: Receiver[Mapping[str, Any]],
138-
log_format: str = "%(asctime)s %(levelname)-8s %(name)s:%(lineno)s: %(message)s",
139138
log_datefmt: str = "%Y-%m-%dT%H:%M:%S%z",
139+
log_format: str = "%(asctime)s %(levelname)-8s %(name)s:%(lineno)s: %(message)s",
140140
name: str | None = None,
141141
):
142142
"""Initialize this instance.
143143
144144
Args:
145145
config_recv: The receiver to listen for configuration changes.
146-
log_format: Use the specified format string in logs.
147146
log_datefmt: Use the specified date/time format in logs.
147+
log_format: Use the specified format string in logs.
148148
name: The name of this actor. If `None`, `str(id(self))` will be used. This
149149
is used mostly for debugging purposes.
150150

0 commit comments

Comments
 (0)