summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>2022-10-17 10:07:39 -0400
committerFrank Ch. Eigler <fche@redhat.com>2022-10-17 10:07:39 -0400
commit4cc429d2761846967678fb8cf5868d311d1f7862 (patch)
tree222136eda31fc2df26716ba51117d5f91a3de149
parent0e18267a05247b5bda60115270203b4ad3af8e55 (diff)
downloadelfutils-4cc429d2761846967678fb8cf5868d311d1f7862.tar.gz
debuginfod: report libmicrohttpd version on startup
To assist troubleshooting with intermittent bugs. Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
-rw-r--r--debuginfod/ChangeLog4
-rw-r--r--debuginfod/debuginfod.cxx2
2 files changed, 6 insertions, 0 deletions
diff --git a/debuginfod/ChangeLog b/debuginfod/ChangeLog
index 8fb65133..59d50df1 100644
--- a/debuginfod/ChangeLog
+++ b/debuginfod/ChangeLog
@@ -1,3 +1,7 @@
+2022-10-17 Frank Ch. Eigler <fche@redhat.com>
+
+ * debuginfod.cxx (main): Report libmicrohttpd version.
+
2022-09-28 Aaron Merey <amerey@redhat.com>
* debuginfod-client.c (debuginfod_query_server): Switch sign of some
diff --git a/debuginfod/debuginfod.cxx b/debuginfod/debuginfod.cxx
index 8e7ee499..9dc4836b 100644
--- a/debuginfod/debuginfod.cxx
+++ b/debuginfod/debuginfod.cxx
@@ -3956,6 +3956,8 @@ main (int argc, char *argv[])
}
}
+ obatched(clog) << "libmicrohttpd version " << MHD_get_version() << endl;
+
/* If '-C' wasn't given or was given with no arg, pick a reasonable default
for the number of worker threads. */
if (connection_pool == 0)