summaryrefslogtreecommitdiff
path: root/src/libtipidee/tipidee_log_start.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-10-12 02:46:37 +0000
committerLaurent Bercot <ska@appnovation.com>2023-10-12 02:46:37 +0000
commitd9492e8561fe5373b1428c6d7cff4f25e2796a55 (patch)
tree8e0b77e1b8f4964f9a154ce89209f25e093a0f8f /src/libtipidee/tipidee_log_start.c
parent541325d00c7078d063ea97333d3c9c64d6b6c7b6 (diff)
downloadtipidee-d9492e8561fe5373b1428c6d7cff4f25e2796a55.tar.xz
Add host_as_prefix logging for request/resource/answer
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/libtipidee/tipidee_log_start.c')
-rw-r--r--src/libtipidee/tipidee_log_start.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libtipidee/tipidee_log_start.c b/src/libtipidee/tipidee_log_start.c
index 34284af..b280301 100644
--- a/src/libtipidee/tipidee_log_start.c
+++ b/src/libtipidee/tipidee_log_start.c
@@ -8,8 +8,8 @@
void tipidee_log_start (uint32_t v, char const *ip, char const *host)
{
- char const *a[5] = { "info: start" } ;
- size_t m = 1 ;
+ char const *a[6] = { PROG, ": info: start" } ;
+ size_t m = 2 ;
if (!(v & TIPIDEE_LOG_START)) return ;
if (v & TIPIDEE_LOG_CLIENTIP)
{