BIND 10 #1629: logging with garbage in it

BIND 10 Development do-not-reply at isc.org
Fri Jun 15 11:44:10 UTC 2012


#1629: logging with garbage in it
-------------------------------------+-------------------------------------
                   Reporter:  jreed  |                 Owner:  UnAssigned
                       Type:         |                Status:  assigned
  defect                             |             Milestone:
                   Priority:         |  Sprint-20120619
  medium                             |            Resolution:
                  Component:         |             Sensitive:  0
  logging                            |           Sub-Project:  DNS
                   Keywords:         |  Estimated Difficulty:  8
            Defect Severity:  N/A    |           Total Hours:  0
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------

Comment (by wilx):

 If this is being caused by the concurrent writes from multiple processes
 then only log4cplus 1.1.x or trunk branch can resolve this. TBH, I could
 imagine interleaved output but the NULs there baffle me.

 Could you please try with log4cplus
 [https://sourceforge.net/projects/log4cplus/files/log4cplus-stable/1.1.0/
 1.1.0-RC5] or with  trunk branch
 (`bzr://log4cplus.bzr.sourceforge.net/bzrroot/log4cplus/trunk`)?

 `FileAppender` and `RollingFileAppender` on those branches supports inter-
 process locking using lock files. To use it, see
 [http://log4cplus.sourceforge.net/docs/html/classlog4cplus_1_1FileAppender.html
 FileAppender docs]. Basically, you would have to add `UseLockFile=true` to
 your log4cplus configuration file. You can change the lock file path and
 name using property `LockFile`.

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


More information about the bind10-tickets mailing list