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