public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH 0/3] conf, log: Fix regression in usage() printing
@ 2024-05-29  9:04 David Gibson
  2024-05-29  9:04 ` [PATCH 1/3] conf: Remove unhelpful usage() wrapper David Gibson
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: David Gibson @ 2024-05-29  9:04 UTC (permalink / raw)
  To: passt-dev, Stefano Brivio; +Cc: erik.sjolund, David Gibson

Erik Sjölund pointed out a regression where we're no long printing the
--help message to stdout, but to stderr instead.

I'm not actually sure what caused the regression, but it was made
possible by the fact that the original fix was pretty strange to begin
with.  It introduced some hacks to force the logging subsystem to go
to stdout, which have presumably failed in some subtle way.  But,
there's really no reason to run usage() through the logging subsystem
in the first place - it just adds complexity.

Link: https://bugs.passt.top/show_bug.cgi?id=90
Link: https://bugs.passt.top/show_bug.cgi?id=52

David Gibson (3):
  conf: Remove unhelpful usage() wrapper
  conf: Don't print usage via the logging subsystem
  log: Remove log_to_stdout option

 conf.c | 329 ++++++++++++++++++++++++++++-----------------------------
 log.c  |   8 +-
 log.h  |   1 -
 3 files changed, 163 insertions(+), 175 deletions(-)

-- 
2.45.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-06-05  0:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-29  9:04 [PATCH 0/3] conf, log: Fix regression in usage() printing David Gibson
2024-05-29  9:04 ` [PATCH 1/3] conf: Remove unhelpful usage() wrapper David Gibson
2024-05-29  9:04 ` [PATCH 2/3] conf: Don't print usage via the logging subsystem David Gibson
2024-06-04 22:40   ` Stefano Brivio
2024-06-04 23:51     ` David Gibson
2024-05-29  9:04 ` [PATCH 3/3] log: Remove log_to_stdout option David Gibson

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).