BIND 10 #1033: %q and log time

BIND 10 Development do-not-reply at isc.org
Wed Jun 22 08:33:46 UTC 2011


#1033: %q and log time
---------------------------------------+----------------------------------
                   Reporter:  jreed    |                 Owner:
                       Type:  defect   |                Status:  new
                   Priority:  major    |             Milestone:  New Tasks
                  Component:  logging  |            Resolution:
                   Keywords:           |             Sensitive:  0
            Defect Severity:  N/A      |           Sub-Project:  Core
Feature Depending on Ticket:           |  Estimated Difficulty:  0.0
        Add Hours to Ticket:  0        |           Total Hours:  0
                  Internal?:  0        |
---------------------------------------+----------------------------------

Comment (by stephen):

 I think using 1.0.2 of log4cplus is the problem.  That version uses
 strftime() to replace the tokens, then replaces any "%q"s remaining with
 the milliseconds value.  1.0.4 first replaces "%q", then calls strftime().

 If the FreeBSD version of strftime() is removing the percent sign in "%q"
 (and leaving the "q") when it processes it because it doesn't recognise
 the token, we would get the behaviour we're seeing.

-- 
Ticket URL: <http://bind10.isc.org/ticket/1033#comment:5>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list