diff options
-rw-r--r-- | sbin/hastd/hooks.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sbin/hastd/hooks.c b/sbin/hastd/hooks.c index 5692565..2cc8b68 100644 --- a/sbin/hastd/hooks.c +++ b/sbin/hastd/hooks.c @@ -288,6 +288,8 @@ hook_check(void) assert(hooks_initialized); + pjdlog_debug(1, "Checking hooks."); + /* * Report about processes that are running for a long time. */ @@ -363,6 +365,8 @@ hook_execv(const char *path, va_list ap) if (hp == NULL) return; + pjdlog_debug(1, "Executing hook: %s", hp->hp_comm); + pid = fork(); switch (pid) { case -1: /* Error. */ |