Skip to content

Commit b58fc2b

Browse files
committed
common(fix[logs]): use past-tense message for pre-execution log
why: CLAUDE.md logging standards require past-tense event messages. "running %s" used present progressive; "tmux command dispatched" matches the post-execution "tmux command completed" style. what: - Change pre-execution log message from "running %s" to "tmux command dispatched" - Remove redundant format arg (command already captured in tmux_cmd extra)
1 parent 8c5e1ad commit b58fc2b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/libtmux/common.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,7 @@ def __init__(self, *args: t.Any, tmux_bin: str | None = None) -> None:
263263
if logger.isEnabledFor(logging.DEBUG):
264264
cmd_str = shlex.join(cmd)
265265
logger.debug(
266-
"running %s",
267-
cmd_str,
266+
"tmux command dispatched",
268267
extra={"tmux_cmd": cmd_str},
269268
)
270269

0 commit comments

Comments
 (0)