Return-Path: Delivered-To: apmail-logging-log4cxx-user-archive@www.apache.org Received: (qmail 38031 invoked from network); 11 Dec 2007 19:01:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Dec 2007 19:01:08 -0000 Received: (qmail 30427 invoked by uid 500); 11 Dec 2007 19:00:56 -0000 Delivered-To: apmail-logging-log4cxx-user-archive@logging.apache.org Received: (qmail 30403 invoked by uid 500); 11 Dec 2007 19:00:56 -0000 Mailing-List: contact log4cxx-user-help@logging.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Log4CXX User" List-Id: Delivered-To: mailing list log4cxx-user@logging.apache.org Received: (qmail 30373 invoked by uid 99); 11 Dec 2007 19:00:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Dec 2007 11:00:56 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [128.9.208.207] (HELO nitro.isi.edu) (128.9.208.207) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Dec 2007 19:00:34 +0000 Received: from hyperion.isi.edu (hyperion.isi.edu [128.9.216.128]) (authenticated bits=0) by nitro.isi.edu (8.13.8/8.13.8) with ESMTP id lBBIviDS010884 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 11 Dec 2007 10:57:48 -0800 (PST) Message-ID: <475EDD9B.7060103@isi.edu> Date: Tue, 11 Dec 2007 10:57:31 -0800 From: Andrew n marshall User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Log4CXX User Subject: Re: XML Configuration References: <5FA48CB3-7AD6-405E-B0B5-E6900FA6C682@apache.org> <000301c83818$7f78e8a0$97dea8c0@OCTOBER> <4E13492F-A759-47F8-8501-C17FA3EEB220@apache.org> <004901c83852$2535b690$97dea8c0@OCTOBER> <475D9AA7.3070702@isi.edu> <475ECA43.2080208@isi.edu> <8EBE75E9-0B7A-4B2C-9DD9-C453A0AC08AA@apache.org> <475ED14B.6070303@isi.edu> In-Reply-To: <475ED14B.6070303@isi.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ISI-4-43-8-MailScanner: Found to be clean X-MailScanner-From: amarshal@isi.edu X-Virus-Checked: Checked by ClamAV on apache.org My mistake. The percent sign in %d is there in the header file, but it does not show up in the generated web docs. This also affects timebasedrollingpolicy.h. Andrew n marshall wrote: > Curt Arnold wrote: >> You do not have a % (percent) character before the d to introduce the >> date format. I assume that log4cxx is treating the whole pattern as >> a literal and the message is an indication that it did not locate a >> date pattern in the FileNamePattern value. There is an example in >> src/test/resources/input/rolling/time.xml. > > > Yes that fixed it. > > The docs need to be updated accordingly. In the detailed description of: > > http://logging.apache.org/log4cxx/apidocs/classlog4cxx_1_1rolling_1_1RollingFileAppender.html > > the XML example has the bug you noticed and a spurious " in the > tag (rollingfileappender.h). > > > Anm