Skip to content

Commit

Permalink
cdba-server: include PID to the syslog message
Browse files Browse the repository at this point in the history
Include PID into syslog message to simplify identifying the CDBA
sessions.

Signed-off-by: Dmitry Baryshkov <[email protected]>
  • Loading branch information
lumag committed May 31, 2024
1 parent 5db3df3 commit 95ff304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdba-server.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 95ff304

Please sign in to comment.