From: Karel Zak <kzak@redhat.com>
To: Benno Schulenberg <bensberg@justemail.net>
Cc: JWP <elseifthen@gmx.com>, Util-Linux <util-linux@vger.kernel.org>
Subject: Re: [PATCH 0/5] hwclock: clean up messages
Date: Fri, 24 Oct 2014 14:18:25 +0200 [thread overview]
Message-ID: <20141024121825.GC10134@x2.net.home> (raw)
In-Reply-To: <1414151313.843395.182838257.3685FB42@webmail.messagingengine.com>
On Fri, Oct 24, 2014 at 01:48:33PM +0200, Benno Schulenberg wrote:
>
> On Fri, Oct 24, 2014, at 13:08, Karel Zak wrote:
> > On Thu, Oct 23, 2014 at 10:44:31PM -0400, JWP wrote:
> > > This patch set cleans up various message output.
> > > It contains cosmetic changes only.
> > >
> > > J William Piggott (5):
> > > hwclock: Remove newline from 'date' debug output
> > > hwclock: clean up message periods/full stops
> > > hwclock: add message line breaks
> > > hwclock: Fix --date debug messages
> > > hwclock: version prints out of order
> >
> > I'm going to merge these patches,
>
> Please no. Not the mere period and linebreak changes.
Thanks for review, that's reason why I usually wait at least a day..
:-)
> > but as a long term solution it would
> > better to use include/debug.h stuff (see for example
> > misc-utils/whereis.c or libmount/src/init.c).
>
> In hwclock the "debug" messages are gettextized, because in fact
ah..
> they are verbose messages to help the user understand what hwclock
> is doing. They are not meant to find programming errors in hwclock;
> if that were the case, they wouldn't be gettextized, because a
> programmer needs to be able to read an write English anyway.
Good point, then it would be better to keen --debug independent on
HWCLOCK_DEBUG=.
But I still think that for so complex tool like hwclock we need a
real debug output for developers / bug reporters. The current --debug
is more like --verbose we have in another tools.
Larel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
next prev parent reply other threads:[~2014-10-24 12:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-24 2:44 [PATCH 0/5] hwclock: clean up messages JWP
2014-10-24 11:08 ` Karel Zak
2014-10-24 11:15 ` JWP
2014-10-24 11:48 ` Benno Schulenberg
2014-10-24 12:18 ` Karel Zak [this message]
2014-10-24 12:22 ` JWP
2014-10-24 13:18 ` Benno Schulenberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141024121825.GC10134@x2.net.home \
--to=kzak@redhat.com \
--cc=bensberg@justemail.net \
--cc=elseifthen@gmx.com \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.