BIND 10 #2552: log output has two spaces after INFO
BIND 10 Development
do-not-reply at isc.org
Mon Dec 17 08:38:28 UTC 2012
#2552: log output has two spaces after INFO
--------------------------------+-----------------------------------------
Reporter: jreed | Owner:
Type: defect | Status: new
Priority: low | Milestone: New Tasks
Component: logging | Resolution:
Keywords: | CVSS Scoring:
Sensitive: 0 | Defect Severity: Low
Sub-Project: Core | Feature Depending on Ticket:
Estimated Difficulty: 0 | Add Hours to Ticket: 0
Total Hours: 0 | Internal?: 0
--------------------------------+-----------------------------------------
Comment (by jelte):
FYI, it's not just INFO, we currently use this pattern:
{{{
string pattern = "%D{%Y-%m-%d %H:%M:%S.%q} %-5p [%c/%i] %m\n";
}}}
The loglevel is the %-5p entry; i.e. pad with spaces if loglevel is less
than 5 characters.
I guess this is done so the logger name is always aligned nicely (and in
exactly the same column).
Is an easy split on a single space more important? Then it's trivial to
change, but we may need to update a couple of tests.
--
Ticket URL: <http://bind10.isc.org/ticket/2552#comment:2>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list