diff mbox series

main: set the identity in the logger

Message ID 20240711220753.17831-1-steve.schrock@getcruise.com (mailing list archive)
State New
Headers show
Series main: set the identity in the logger | expand

Checks

Context Check Description
tedd_an/pre-ci_am success Success
prestwoj/iwd-alpine-ci-fetch success Fetch PR
prestwoj/iwd-ci-gitlint success GitLint
prestwoj/iwd-ci-fetch success Fetch PR
prestwoj/iwd-alpine-ci-setupell success Prep - Setup ELL
prestwoj/iwd-ci-setupell success Prep - Setup ELL
prestwoj/iwd-ci-incremental_build success Incremental build not run PASS
prestwoj/iwd-alpine-ci-makedistcheck success Make Distcheck
prestwoj/iwd-alpine-ci-incremental_build success Incremental build not run PASS
prestwoj/iwd-ci-build success Build - Configure
prestwoj/iwd-alpine-ci-build success Build - Configure
prestwoj/iwd-alpine-ci-makecheckvalgrind success Make Check w/Valgrind
prestwoj/iwd-alpine-ci-makecheck success Make Check
prestwoj/iwd-ci-clang success clang PASS
prestwoj/iwd-ci-makecheckvalgrind success Make Check w/Valgrind
prestwoj/iwd-ci-makecheck success Make Check
prestwoj/iwd-ci-makedistcheck success Make Distcheck
prestwoj/iwd-ci-testrunner success test-runner PASS

Commit Message

Steve Schrock July 11, 2024, 10:07 p.m. UTC
This causes "iwd" to be output in each message sent to syslog to help
quickly identify iwd messages.
---
 src/main.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Denis Kenzior July 11, 2024, 10:14 p.m. UTC | #1
Hi Steve,

On 7/11/24 5:07 PM, Steve Schrock wrote:
> This causes "iwd" to be output in each message sent to syslog to help
> quickly identify iwd messages.
> ---
>   src/main.c | 2 ++
>   1 file changed, 2 insertions(+)
> 

Applied, thanks.

Regards,
-Denis
diff mbox series

Patch

diff --git a/src/main.c b/src/main.c
index acbfdc0c34b2..93d4e87c653a 100644
--- 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;