Only print one line by default.

This commit is contained in:
Nicholas Marriott
2026-07-01 08:22:21 +01:00
parent 115002748b
commit 1853c220a4
10 changed files with 130 additions and 63 deletions

View File

@@ -45,7 +45,7 @@ notify_insert_one_hook(struct cmdq_item *item, struct notify_entry *ne,
if (tree == NULL)
return (item);
if (log_get_level() != 0) {
s = cmd_parse_print(tree);
s = cmd_parse_print(tree, 0);
log_debug("%s: hook %s is: %s", __func__, ne->name, s);
free(s);
}