mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-16 17:09:24 +01:00
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:
parent
b54dcafa80
commit
6d46698494
@ -531,6 +531,8 @@ int main(int argc, char *argv[])
|
|||||||
else
|
else
|
||||||
l_log_set_stderr();
|
l_log_set_stderr();
|
||||||
|
|
||||||
|
l_log_set_ident("iwd");
|
||||||
|
|
||||||
if (check_crypto() < 0)
|
if (check_crypto() < 0)
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user