[PATCH 0/6] util: log infor to help troubleshoot file/socket open failures

Laine Stump via Devel posted 6 patches 1 week, 1 day ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20260407032920.242586-1-laine@redhat.com
There is a newer version of this series
src/util/virlog.c | 231 ++++++++++++++++++++++++++++++----------------
src/util/virlog.h |   4 +-
tests/testutils.c |   2 +-
3 files changed, 155 insertions(+), 82 deletions(-)
[PATCH 0/6] util: log infor to help troubleshoot file/socket open failures
Posted by Laine Stump via Devel 1 week, 1 day ago
The first couple patches are just related cleanups I noticed while
doing the others, then a couple patches to simplify adding more lines
to the bannder printed at the top of the log, and then finally the
last couple patches add some info to the banner at the top of the log
that would be generally useful when trying to understand why some
random file or socket failed to be created or opened.

Ideas on what else to add (or what to remove, or how to better format
it) are welcome!

Laine Stump (6):
  util: log the name of the log directory that couldn't be created
  util: consistently use typedef virLogMetadata
  util: eliminate duplicate code in virLogVMessage
  util: make it easier to add lines to the log "init banner"
  util: add info to log banner about uid and user environment
  util: add info about g_get_user_*_dir directories to log banner

 src/util/virlog.c | 231 ++++++++++++++++++++++++++++++----------------
 src/util/virlog.h |   4 +-
 tests/testutils.c |   2 +-
 3 files changed, 155 insertions(+), 82 deletions(-)

-- 
2.53.0