[bind10-dev] Ticket 1704 (Log output mixed)

Michal 'vorner' Vaner michal.vaner at nic.cz
Wed Apr 11 07:12:42 UTC 2012


Hello

On Tue, Apr 10, 2012 at 02:17:07PM +0100, Stephen Morris wrote:
> I suggest that we do (1) (and take the opportunity to make output to
> stdout the default) and (3).

I agree with (3), we should definitely do that.

The (2) is tricky. It should be possible to do, I guess cerr is just the same
kind of object as cout, just constructed with a different fd and configuration.
But you're right something might expect it to be unbuffered, so we should not
give the surprise.

And I don't like (1) either. As a user, I don't expect logging to go to stdout,
I expect it to appear on stderr. Therefore doing (1) would be a surprise for the
user. And if the user wants to keep the logs, he should configure logging to a
file anyway I think, so the problem is not that large. So I propose we don't do
(1), only mention the workaround to switch to stdout or file output if the user
has the problem.

Or, we could switch to outputting to syslog by default or somewhere? Syslog is a
nice place for a daemon to output to.

With regards

-- 
You can't have everything... where would you put it?
    -- Steven Wright

Michal 'vorner' Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20120411/3281db3d/attachment.bin>


More information about the bind10-dev mailing list