Log uts information on launch of the session and relay daemon
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 3 Jan 2023 19:11:21 +0000 (14:11 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 5 Jan 2023 20:13:06 +0000 (15:13 -0500)
commite35e95ea77196e8997a02eda4bb8c1c5c6cba0fb
treeb3f30fb65e4440bc8ff8357931854883a3586f90
parent7a73918f364c40da63f8ba78633c0d7298545a8a
Log uts information on launch of the session and relay daemon

To make debugging easier, log uts information on launch of the daemons.

Produces an output of the following form when the daemons are launched
in verbose mode:
  DBG1 - 14:30:14.997217006 [Main]: System information: (in log_system_information() at logging-utils.cpp:23)
  DBG1 - 14:30:14.997221139 [Main]:  sysname: `Linux` (in log_system_information() at logging-utils.cpp:24)
  DBG1 - 14:30:14.997227199 [Main]:  nodename: `carbonara` (in log_system_information() at logging-utils.cpp:25)
  DBG1 - 14:30:14.997231284 [Main]:  release: `6.1.1-arch1-1` (in log_system_information() at logging-utils.cpp:26)
  DBG1 - 14:30:14.997235261 [Main]:  version: `#1 SMP PREEMPT_DYNAMIC Wed, 21 Dec 2022 22:27:55 +0000` (in log_system_information() at logging-utils.cpp:27)
  DBG1 - 14:30:14.997240214 [Main]:  machine: `x86_64` (in log_system_information() at logging-utils.cpp:28)

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I399fe8a88da8480e617cc33dd6b1dc2723c300c7
src/bin/lttng-sessiond/main.cpp
src/common/Makefile.am
src/common/logging-utils.cpp [new file with mode: 0644]
src/common/logging-utils.hpp [new file with mode: 0644]
This page took 0.026519 seconds and 4 git commands to generate.