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.
This commit is contained in:
Steve Schrock 2024-07-11 22:07:50 +00:00 committed by Denis Kenzior
parent b54dcafa80
commit 6d46698494
1 changed files with 2 additions and 0 deletions

View File

@ -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;