BIND 10 #1622: Ensure multiple processes log to same file when files are being rolled
BIND 10 Development
do-not-reply at isc.org
Wed Oct 31 13:08:48 UTC 2012
#1622: Ensure multiple processes log to same file when files are being rolled
---------------------------------------+----------------------------
Reporter: stephen | Owner:
Type: defect | Status: new
Priority: low | Milestone:
Component: logging | Resolution:
Keywords: | Sensitive: 0
Defect Severity: N/A | Sub-Project: DNS
Feature Depending on Ticket: | Estimated Difficulty: 6
Add Hours to Ticket: 0 | Total Hours: 0
Internal?: 0 |
---------------------------------------+----------------------------
Comment (by jreed):
This problem still exists with log4cplus 1.1.0 which is said to fix this
problem. I will report upstream. Here is the example from production n10
server:
{{{
%ls -ltr /var/log/bind10/ | tail
-rw-r--r-- 1 root wheel 400705 Oct 30 21:30 bind10.log.8
-rw-r--r-- 1 root wheel 1048681 Oct 31 06:00 bind10.log.1
-rw-r--r-- 1 root wheel 82692 Oct 31 06:00 output.log
-rw-r--r-- 1 root wheel 1048625 Oct 31 06:00 bind10.log.2
-rw-r--r-- 1 root wheel 2799 Oct 31 11:36 bind10.log.4
-rw-r--r-- 1 root wheel 6325 Oct 31 11:36 bind10.log.3
-rw-r--r-- 1 root wheel 546025 Oct 31 13:03 bind10.log
-rw-r--r-- 1 root wheel 116931 Oct 31 13:04 bind10.log.5
-rw-r--r-- 1 root wheel 400637 Oct 31 13:04 bind10.log.7
-rw-r--r-- 1 root wheel 144156 Oct 31 13:04 bind10.log.6
}}}
Multiple log files still written too. Now all out of order. fstat shows
multiple processes have different bind10 log files open.
--
Ticket URL: <http://bind10.isc.org/ticket/1622#comment:3>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list