[bind10-dev] Proposed logging system enhancements
Michal 'vorner' Vaner
michal.vaner at nic.cz
Fri Apr 29 15:11:47 UTC 2011
Hello
While writing #744 (yes, it takes some time, read all the code in data source
library and add debug information and errors to it), I'm thinking of few minor
improvements we could do in the logging system.
• The message definition format uses + to indicate a description of the logging
statement, while it has no mark to indicate the real logging item. But the
logging item is usually single line, while the description is multiline. So
there are many + signs that disturb rewrap functions (at last the one in my
vim, if I try to add/remove some words in the middle, I need to wrap the lines
manually). Could we change it and have something like % denote start of new
item and then the rest until the new item would be description?
• There's the prefix. But it's used only in the source code, where it's put into
a namespace already, so it's not needed there. But when two libraries with
different prefixes meet in the same system (it might happen that there are two
independent people, each one publishing his own extensions), there's a
problem. So, could we use the prefix in the internal identifiers and log
outputs as well? Because that's the place where we don't have namespace.
Thanks
With regards
--
When a fly lands on the ceiling, does it do a half roll or a half loop?
Michal 'vorner' Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20110429/07cf0cf8/attachment.bin>
More information about the bind10-dev
mailing list