From 95ff3049f8aedf5a0e24603a1d91c1decd456a08 Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Tue, 21 May 2024 20:13:40 +0300 Subject: [PATCH] cdba-server: include PID to the syslog message Include PID into syslog message to simplify identifying the CDBA sessions. Signed-off-by: Dmitry Baryshkov --- cdba-server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdba-server.c b/cdba-server.c index 2b16661..9681a75 100644 --- a/cdba-server.c +++ b/cdba-server.c @@ -216,7 +216,7 @@ int main(int argc, char **argv) if (!username) username = "nobody"; - openlog("cdba-server", 0, LOG_DAEMON); + openlog("cdba-server", LOG_PID, LOG_DAEMON); ret = device_parser(".cdba"); if (ret) {