commit 6d46698494a7fd26792adfc01c8c4ae85ca53ee8
parent b54dcafa809eddd8d9b85acddd6738d599831557
Author: Steve Schrock <steve.schrock@getcruise.com>
Date: Thu, 11 Jul 2024 22:07:50 +0000
main: set the identity in the logger
This causes "iwd" to be output in each message sent to syslog to help
quickly identify iwd messages.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/main.c b/src/main.c
@@ -531,6 +531,8 @@ int main(int argc, char *argv[])
else
l_log_set_stderr();
+ l_log_set_ident("iwd");
+
if (check_crypto() < 0)
return EXIT_FAILURE;