BIND 10 #1745: adding pid to auth (and resolver) log ID
BIND 10 Development
do-not-reply at isc.org
Tue Mar 6 10:16:10 UTC 2012
#1745: adding pid to auth (and resolver) log ID
-------------------------------------+-------------------------------------
Reporter: | Owner:
jinmei | Status: new
Type: | Milestone: Next-Sprint-
defect | Proposed
Priority: major | Resolution:
Component: | Sensitive: 0
logging | Sub-Project: DNS
Keywords: | Estimated Difficulty: 0
Defect Severity: N/A | Total Hours: 0
Feature Depending on Ticket: |
Add Hours to Ticket: 0 |
Internal?: 0 |
-------------------------------------+-------------------------------------
Comment (by stephen):
This might interact badly with the wildcard specification of logger
components (e.g. at the moment you can add a specification for
"b10-auth.*" - "b10-auth*" does not match).
What might be better is to make the PID a separate component of the logger
name, e.g.
{{{
isc::log::initLogger(string(AUTH_NAME) + "."
+ boost::lexical_cast<string>(getpid()));
}}}
... so that messages come from loggers with names like "b10-auth.42.cc"
and components can be specified as "b10-auth.*.*"
--
Ticket URL: <http://bind10.isc.org/ticket/1745#comment:2>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list