From log4php-dev-returnmillerjohn@example.net Sun Aug 01 16:44:38 2010 Return-Path: <log4php-dev-returnmillerjohn@example.net> Delivered-To: millerjohn@example.net Received: (qmail 32381 invoked from network); 1 Aug 2010 16:44:38 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 1 Aug 2010 16:44:38 -0000 Received: (qmail 48977 invoked by uid 500); 1 Aug 2010 16:44:38 -0000 Delivered-To: millerjohn@example.net Received: (qmail 48913 invoked by uid 500); 1 Aug 2010 16:44:37 -0000 Mailing-List: contact millerjohn@example.net; run by ezmlm Precedence: bulk list-help: <mailto:millerjohn@example.net> list-unsubscribe: <mailto:millerjohn@example.net> List-Post: <mailto:millerjohn@example.net> Reply-To: "Log4PHP Dev" <millerjohn@example.net> List-Id: <log4php-dev.logging.apache.org> Delivered-To: mailing list millerjohn@example.net Received: (qmail 48906 invoked by uid 99); 1 Aug 2010 16:44:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Aug 2010 16:44:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO thor.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Aug 2010 16:44:36 +0000 Received: from thor (localhost [83.161.120.155]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o71GiGSY022747 for <millerjohn@example.net>; Sun, 1 Aug 2010 16:44:16 GMT Message-ID: <24788434.108521280681056486.JavaMail.jira@thor> Date: Sun, 1 Aug 2010 12:44:16 -0400 (EDT) From: "Moritz Schmidt (JIRA)" <millerjohn@example.net> To: millerjohn@example.net Subject: [jira] Updated: (LOG4PHP-122) RendererMap888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4getByClassName doesnt recognize instances of child classes In-Reply-To: <221601.537411279877390012.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LOG4PHP-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Moritz Schmidt updated LOG4PHP-122: ----------------------------------- Attachment: LOG4PHP-122_with_test.patch where are my manners... this patch includes a test case :) > RendererMap888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4getByClassName doesnt recognize instances of child classes > ----------------------------------------------------------------------- > > Key: LOG4PHP-122 > URL: https://issues.apache.org/jira/browse/LOG4PHP-122 > Project: Log4php > Issue Type: Bug > Components: Code > Reporter: Moritz Schmidt > Priority: Minor > Attachments: LOG4PHP-122.diff, LOG4PHP-122_with_test.patch > > Original Estimate: 0.17h > Remaining Estimate: 0.17h > > When setting a renderer for a parent class, RendererMap will not find the correct renderer for instances of child classes if the parent class name is not all lower-case. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From log4php-dev-returnmillerjohn@example.net Sun Aug 01 17:09:38 2010 Return-Path: <log4php-dev-returnmillerjohn@example.net> Delivered-To: millerjohn@example.net Received: (qmail 39904 invoked from network); 1 Aug 2010 17:09:37 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 1 Aug 2010 17:09:37 -0000 Received: (qmail 54745 invoked by uid 500); 1 Aug 2010 17:09:37 -0000 Delivered-To: millerjohn@example.net Received: (qmail 54684 invoked by uid 500); 1 Aug 2010 17:09:37 -0000 Mailing-List: contact millerjohn@example.net; run by ezmlm Precedence: bulk list-help: <mailto:millerjohn@example.net> list-unsubscribe: <mailto:millerjohn@example.net> List-Post: <mailto:millerjohn@example.net> Reply-To: "Log4PHP Dev" <millerjohn@example.net> List-Id: <log4php-dev.logging.apache.org> Delivered-To: mailing list millerjohn@example.net Received: (qmail 54677 invoked by uid 99); 1 Aug 2010 17:09:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Aug 2010 17:09:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO thor.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Aug 2010 17:09:37 +0000 Received: from thor (localhost [83.161.120.155]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o71H9Ght022907 for <millerjohn@example.net>; Sun, 1 Aug 2010 17:09:16 GMT Message-ID: <3313381.108701280682556863.JavaMail.jira@thor> Date: Sun, 1 Aug 2010 13:09:16 -0400 (EDT) From: "Moritz Schmidt (JIRA)" <millerjohn@example.net> To: millerjohn@example.net Subject: [jira] Updated: (LOG4PHP-123) LoggerConfiguratorPhp does not parse renderer configuration In-Reply-To: <13535945.108681280682556394.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LOG4PHP-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Moritz Schmidt updated LOG4PHP-123: ----------------------------------- Attachment: LOG4PHP-123.patch patch to fix > LoggerConfiguratorPhp does not parse renderer configuration > ----------------------------------------------------------- > > Key: LOG4PHP-123 > URL: https://issues.apache.org/jira/browse/LOG4PHP-123 > Project: Log4php > Issue Type: Bug > Components: Code > Affects Versions: 2.0 > Reporter: Moritz Schmidt > Fix For: 2.1 > > Attachments: LOG4PHP-123.patch > > Original Estimate: 0.17h > Remaining Estimate: 0.17h > > LoggerConfiguratorPhp does not yet know renderer configuration -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From log4php-dev-returnmillerjohn@example.net Sun Aug 01 17:09:40 2010 Return-Path: <log4php-dev-returnmillerjohn@example.net> Delivered-To: millerjohn@example.net Received: (qmail 39945 invoked from network); 1 Aug 2010 17:09:40 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 1 Aug 2010 17:09:40 -0000 Received: (qmail 54825 invoked by uid 500); 1 Aug 2010 17:09:40 -0000 Delivered-To: millerjohn@example.net Received: (qmail 54765 invoked by uid 500); 1 Aug 2010 17:09:40 -0000 Mailing-List: contact millerjohn@example.net; run by ezmlm Precedence: bulk list-help: <mailto:millerjohn@example.net> list-unsubscribe: <mailto:millerjohn@example.net> List-Post: <mailto:millerjohn@example.net> Reply-To: "Log4PHP Dev" <millerjohn@example.net> List-Id: <log4php-dev.logging.apache.org> Delivered-To: mailing list millerjohn@example.net Received: (qmail 54758 invoked by uid 99); 1 Aug 2010 17:09:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Aug 2010 17:09:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO thor.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Aug 2010 17:09:38 +0000 Received: from thor (localhost [83.161.120.155]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o71H9GTt022901 for <millerjohn@example.net>; Sun, 1 Aug 2010 17:09:16 GMT Message-ID: <13535945.108681280682556394.JavaMail.jira@thor> Date: Sun, 1 Aug 2010 13:09:16 -0400 (EDT) From: "Moritz Schmidt (JIRA)" <millerjohn@example.net> To: millerjohn@example.net Subject: [jira] Created: (LOG4PHP-123) LoggerConfiguratorPhp does not parse renderer configuration MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org LoggerConfiguratorPhp does not parse renderer configuration ----------------------------------------------------------- Key: LOG4PHP-123 URL: https://issues.apache.org/jira/browse/LOG4PHP-123 Project: Log4php Issue Type: Bug Components: Code Affects Versions: 2.0 Reporter: Moritz Schmidt Fix For: 2.1 Attachments: LOG4PHP-123.patch LoggerConfiguratorPhp does not yet know renderer configuration -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From log4php-dev-returnmillerjohn@example.net Tue Aug 03 07:59:02 2010 Return-Path: <log4php-dev-returnmillerjohn@example.net> Delivered-To: millerjohn@example.net Received: (qmail 72948 invoked from network); 3 Aug 2010 07:59:01 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 3 Aug 2010 07:59:01 -0000 Received: (qmail 69141 invoked by uid 500); 3 Aug 2010 07:59:01 -0000 Delivered-To: millerjohn@example.net Received: (qmail 69081 invoked by uid 500); 3 Aug 2010 07:58:59 -0000 Mailing-List: contact millerjohn@example.net; run by ezmlm Precedence: bulk list-help: <mailto:millerjohn@example.net> list-unsubscribe: <mailto:millerjohn@example.net> List-Post: <mailto:millerjohn@example.net> Reply-To: "Log4PHP Dev" <millerjohn@example.net> List-Id: <log4php-dev.logging.apache.org> Delivered-To: mailing list millerjohn@example.net Received: (qmail 69059 invoked by uid 99); 3 Aug 2010 07:58:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 07:58:58 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of millerjohn@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-vw0-f47.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 07:58:52 +0000 Received: by vws13 with SMTP id 13so3760979vws.34 for <millerjohn@example.net>; Tue, 03 Aug 2010 00:58:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=dY12RH7FvI3YNX9jcSPWJwf2jKiaK++4ShQOBOurOq0=; b=My2D3ncTXxV2vCn+rNz1T9oZGJkoKbGC7Aupz0F6sSkcS2IrMCNe3sJzWGR1DaoGae vKoHXDm5+plaLsX8BOK4wSNjJA1dXf1RhiMuNT3yckLacep+SguDNBMUFsAClc4LQP3N He4rfDTsiF76BMEU2ZMutwurKWxY6sPGXddPg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=CGvLYRbUEAV6SEiYQvBIuODiT5w2pu9ZXSjFhsr2sa7cQWfZGcRyx+KS38tMYkfgMr 1Z34nZlYyr8Z4MYc9O9JbkJR2+Coe8KKdqk3JVzJ6HI3VQoKo6/qk+PWpJTG1zJb0Nm+ d6/liPe/CV3dp3FIrQH6wjZj4RJ0VWkSEDa8Y= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id o11mr4939483vch.271.1280822310572; Tue, 03 Aug 2010 00:58:30 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Tue, 3 Aug 2010 00:58:30 -0700 (PDT) Date: Tue, 3 Aug 2010 09:58:30 +0200 Message-ID: <millerjohn@example.net> Subject: JIRA permissions From: Ivan Habunek <millerjohn@example.net> To: Log4PHP Dev <millerjohn@example.net> Content-Type: multipart/alternative; boundary=e0cb4e887f0fd7924b048ce6ae71 --e0cb4e887f0fd7924b048ce6ae71 Content-Type: text/plain; charset=ISO-8859-1 Hi guys. I currently don't have permissions to resolve JIRA issues except the ones I created. Can someone fix that? I have commited the fix for LOG4PHP-117, but I can't resolve it in JIRA. Regards, Ivan --e0cb4e887f0fd7924b048ce6ae71 Content-Type: text/html; charset=ISO-8859-1 Hi guys.<br><br>I currently don&#39;t have permissions to resolve JIRA issues except the ones I created. Can someone fix that?<br><br>I have commited the fix for LOG4PHP-117, but I can&#39;t resolve it in JIRA.<br><br>Regards,<br> Ivan<br> --e0cb4e887f0fd7924b048ce6ae71-- From log4php-dev-returnmillerjohn@example.net Tue Aug 03 08:14:15 2010 Return-Path: <log4php-dev-returnmillerjohn@example.net> Delivered-To: millerjohn@example.net Received: (qmail 82756 invoked from network); 3 Aug 2010 08:14:15 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 3 Aug 2010 08:14:15 -0000 Received: (qmail 78579 invoked by uid 500); 3 Aug 2010 08:14:15 -0000 Delivered-To: millerjohn@example.net Received: (qmail 78449 invoked by uid 500); 3 Aug 2010 08:14:13 -0000 Mailing-List: contact millerjohn@example.net; run by ezmlm Precedence: bulk list-help: <mailto:millerjohn@example.net> list-unsubscribe: <mailto:millerjohn@example.net> List-Post: <mailto:millerjohn@example.net> Reply-To: "Log4PHP Dev" <millerjohn@example.net> List-Id: <log4php-dev.logging.apache.org> Delivered-To: mailing list millerjohn@example.net Received: (qmail 78440 invoked by uid 99); 3 Aug 2010 08:14:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 08:14:12 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of millerjohn@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-vw0-f47.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 08:14:06 +0000 Received: by vws13 with SMTP id 13so3772206vws.34 for <millerjohn@example.net>; Tue, 03 Aug 2010 01:13:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=dpZMrwJfoRSFTKrP1n8RVKlSAMcREnPH7EBY4ZG+BHg=; b=dX5kVlGGnEO2pDe8uG09Za5OXRDaJOmX4JbW72+Wfd8mlqzzj7XVDm2yaTrWDHAc03 VZNJx9QYVB0liiLYdDUfZTjQ09AlVxdoQ5f/9lkD5YbG21gpIBGC3t/1gDwkUGEBNbYN ZyIPwCJkd/sZC0iZZKaiC9wEeqyDTFCzCctWE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=eM+vF8wZB7snAR1myutEV6W7yNwGIfuS9Xm0O7qIJvGA9qr7ckFKTIW+NIx6NDTF2A Tp5cEHRJe4pphQB62qMzpQLopBr7lHQ/ygtwe7XCtY4bAEFnIKD3HiCb6jMPC5+dzvU+ eOBcScS8yiKbk+4Pj7vPUhNAAp7Pel5WeXedk= Received: by 83.161.120.155 with SMTP id d9mr5009993vcx.109.1280823222193; Tue, 03 Aug 2010 01:13:42 -0700 (PDT) MIME-Version: 1.0 Received: by 83.161.120.155 with HTTP; Tue, 3 Aug 2010 01:13:22 -0700 (PDT) In-Reply-To: <millerjohn@example.net> References: <millerjohn@example.net> From: Christian Grobmeier <millerjohn@example.net> Date: Tue, 3 Aug 2010 10:13:22 +0200 Message-ID: <millerjohn@example.net> Subject: Re: JIRA permissions To: Log4PHP Dev <millerjohn@example.net> Content-Type: text/plain; charset=UTF-8 Hi, i have added you to the committers list - you should now be able to solve it. Please don't forget to update the changes file too :-) Cheers Christian On Tue, Aug 3, 2010 at 9:58 AM, Ivan Habunek <millerjohn@example.net> wrote: > Hi guys. > > I currently don't have permissions to resolve JIRA issues except the ones I > created. Can someone fix that? > > I have commited the fix for LOG4PHP-117, but I can't resolve it in JIRA. > > Regards, > Ivan > From log4php-dev-returnmillerjohn@example.net Tue Aug 03 08:27:19 2010 Return-Path: <log4php-dev-returnmillerjohn@example.net> Delivered-To: millerjohn@example.net Received: (qmail 88691 invoked from network); 3 Aug 2010 08:27:18 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 3 Aug 2010 08:27:18 -0000 Received: (qmail 90674 invoked by uid 500); 3 Aug 2010 08:27:18 -0000 Delivered-To: millerjohn@example.net Received: (qmail 90578 invoked by uid 500); 3 Aug 2010 08:27:17 -0000 Mailing-List: contact millerjohn@example.net; run by ezmlm Precedence: bulk list-help: <mailto:millerjohn@example.net> list-unsubscribe: <mailto:millerjohn@example.net> List-Post: <mailto:millerjohn@example.net> Reply-To: "Log4PHP Dev" <millerjohn@example.net> List-Id: <log4php-dev.logging.apache.org> Delivered-To: mailing list millerjohn@example.net Received: (qmail 90519 invoked by uid 99); 3 Aug 2010 08:27:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 08:27:16 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of millerjohn@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-vw0-f47.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 08:27:08 +0000 Received: by vws13 with SMTP id 13so3780786vws.34 for <millerjohn@example.net>; Tue, 03 Aug 2010 01:26:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=MhbNW21/EEwGDb1B2snGANhTBMNL4JvIxat0av1KwQc=; b=wS7t/1hH6eA2+pYk0uqSGYE/imQupyeUSx0Ss+ECZzUW8HFdJlU9Gy0uQc+XAPZsP/ j65fJREC2vpYYdmKXFMYjG9i2FFUoWThams8s4GG7/KowdkA3NUYquD4C878akEJYH/q KVufSZkGj339Nr1T9I/RiPqPntJEHS3w1dNN4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=F+hUUXgl7JjVzRkHNxW7Knko3RNN5L1CoBhgODeeMYoYmZeNZAUnHN9QiFi00Qn5BQ 14hJRJOUDDnPl09pG2Kk3m3skI5v71aRdpdhASHc8xy+3zqsVogLJ6hnf5Go4dLcb/uU iNqFqw5Ni/SdXifua96s4vqtuuEdaVRVi3nto= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id s21mr5047731vcn.82.1280824007271; Tue, 03 Aug 2010 01:26:47 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Tue, 3 Aug 2010 01:26:47 -0700 (PDT) In-Reply-To: <millerjohn@example.net> References: <millerjohn@example.net> <millerjohn@example.net> Date: Tue, 3 Aug 2010 10:26:47 +0200 Message-ID: <millerjohn@example.net> Subject: Re: JIRA permissions From: Ivan Habunek <millerjohn@example.net> To: Log4PHP Dev <millerjohn@example.net> Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On 3 August 2010 10:13, Christian Grobmeier <millerjohn@example.net> wrote: > i have added you to the committers list - you should now be able to > solve it. Please don't forget to update the changes file too :-) Thanks. Already updated changes.xml. :) Ivan From log4php-dev-returnmillerjohn@example.net Tue Aug 03 08:31:46 2010 Return-Path: <log4php-dev-returnmillerjohn@example.net> Delivered-To: millerjohn@example.net Received: (qmail 91676 invoked from network); 3 Aug 2010 08:31:46 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 3 Aug 2010 08:31:46 -0000 Received: (qmail 96880 invoked by uid 500); 3 Aug 2010 08:31:46 -0000 Delivered-To: millerjohn@example.net Received: (qmail 96548 invoked by uid 500); 3 Aug 2010 08:31:43 -0000 Mailing-List: contact millerjohn@example.net; run by ezmlm Precedence: bulk list-help: <mailto:millerjohn@example.net> list-unsubscribe: <mailto:millerjohn@example.net> List-Post: <mailto:millerjohn@example.net> Reply-To: "Log4PHP Dev" <millerjohn@example.net> List-Id: <log4php-dev.logging.apache.org> Delivered-To: mailing list millerjohn@example.net Received: (qmail 96535 invoked by uid 99); 3 Aug 2010 08:31:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 08:31:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO thor.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 08:31:40 +0000 Received: from thor (localhost [83.161.120.155]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o738VI9S012042 for <millerjohn@example.net>; Tue, 3 Aug 2010 08:31:18 GMT Message-ID: <13761837.134481280824278557.JavaMail.jira@thor> Date: Tue, 3 Aug 2010 04:31:18 -0400 (EDT) From: "Ivan Habunek (JIRA)" <millerjohn@example.net> To: millerjohn@example.net Subject: [jira] Resolved: (LOG4PHP-117) LoggerConfiguratorIni888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4onfigure() and unexptected results from error_get_last() In-Reply-To: <9591171.19901274294274309.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LOG4PHP-117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ivan Habunek resolved LOG4PHP-117. ---------------------------------- Resolution: Fixed > LoggerConfiguratorIni888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4onfigure() and unexptected results from error_get_last() > -------------------------------------------------------------------------------- > > Key: LOG4PHP-117 > URL: https://issues.apache.org/jira/browse/LOG4PHP-117 > Project: Log4php > Issue Type: Bug > Components: Code > Affects Versions: 2.0 > Reporter: Maciej Mazur > Fix For: 2.1 > > Attachments: error_get_last_patch, error_get_last_patch_v2 > > > This apply to src/main/php/configurators/LoggerConfiguratorIni.php > If you invoke LoggerConfiguratorIni888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4onfigure() after there was any notice or warning in your PHP script, then LoggerConfiguratorIni will throw an exception even if there is no need (propably terminating execution) > 284 public function configure(LoggerHierarchy $hierarchy, $url = '') { > 285 $properties = @parse_ini_file($url); > 286 if ($properties === false || count($properties) == 0) { > 287 $error = error_get_last(); > 288 throw new LoggerException("LoggerConfiguratorIni: ".$error['message']); > 289 } > 290 return $this->doConfigureProperties($properties, $hierarchy); > 291 } > In line 287 it is checked if there was any error triggered by function parse_ini_file(). Unfortunately function error_get_last() doesn't return an error triggered by execution of the last function. It returnes an error that is most recent in global, even if it was already catched and taken care of. This is because there is no way to reset the state of the last error. It returns always the last triggered error. (http://www.php.net/manual/en/function.error-get-last.php#83608) > I attached the patch that "solves" this by triggering an empty error before parse_ini_file(), and the it is checked if the error has an empty message: > public function configure(LoggerHierarchy $hierarchy, $url = '') { > @trigger_error(''); > $properties = @parse_ini_file($url); > if ($properties === false || count($properties) == 0) { > $error = error_get_last(); > if ($error['message'] != '') { > throw new LoggerException("LoggerConfiguratorIni: ".$error['message']); > } > } > return $this->doConfigureProperties($properties, $hierarchy); > } > This not very pretty but it works -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From log4php-dev-returnmillerjohn@example.net Tue Aug 24 11:05:00 2010 Return-Path: <log4php-dev-returnmillerjohn@example.net> Delivered-To: millerjohn@example.net Received: (qmail 47535 invoked from network); 24 Aug 2010 11:05:00 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 24 Aug 2010 11:05:00 -0000 Received: (qmail 82337 invoked by uid 500); 24 Aug 2010 11:05:00 -0000 Delivered-To: millerjohn@example.net Received: (qmail 82280 invoked by uid 500); 24 Aug 2010 11:04:58 -0000 Mailing-List: contact millerjohn@example.net; run by ezmlm Precedence: bulk list-help: <mailto:millerjohn@example.net> list-unsubscribe: <mailto:millerjohn@example.net> List-Post: <mailto:millerjohn@example.net> Reply-To: "Log4PHP Dev" <millerjohn@example.net> List-Id: <log4php-dev.logging.apache.org> Delivered-To: mailing list millerjohn@example.net Received: (qmail 82273 invoked by uid 99); 24 Aug 2010 11:04:57 -0000 Received: from Unknown (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Aug 2010 11:04:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO thor.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Aug 2010 11:04:39 +0000 Received: from thor (localhost [83.161.120.155]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7OB4H7q019166 for <millerjohn@example.net>; Tue, 24 Aug 2010 11:04:17 GMT Message-ID: <14678030.528591282647857533.JavaMail.jira@thor> Date: Tue, 24 Aug 2010 07:04:17 -0400 (EDT) From: "Christian Hammers (JIRA)" <millerjohn@example.net> To: millerjohn@example.net Subject: [jira] Created: (LOG4PHP-124) Cannot access private property LoggerLoggingEvent888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4$fqcn MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Cannot access private property LoggerLoggingEvent888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4$fqcn --------------------------------------------------------- Key: LOG4PHP-124 URL: https://issues.apache.org/jira/browse/LOG4PHP-124 Project: Log4php Issue Type: Bug Components: Code Affects Versions: 2.0 Environment: Debian 5.0 Linux Reporter: Christian Hammers Hello I've encountered the following bug: [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP Fatal error: Cannot access private property LoggerLoggingEvent888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4$fqcn in /usr/share/php/log4php/helpers/LoggerClassNamePatternConverter.php on line 42 [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP Stack trace: [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 1. {main}() /srv/ewu/devel/comcenter/src/htdocs/soap/index.php:0 [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 2. require_once() /srv/ewu/devel/comcenter/src/htdocs/soap/index.php:5 [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 3. Comcenter_Config888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4init() /srv/ewu/devel/comcenter/src/lib/Comcenter/Comcenter_Config.php:3 [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 4. Logger->debug() /srv/ewu/devel/comcenter/src/lib/Comcenter/Comcenter_Config.php:60 [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 5. Logger->logLevel() /usr/share/php/log4php/Logger.php:216 [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 6. Logger->forcedLog() /usr/share/php/log4php/Logger.php:331 [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 7. Logger->callAppenders() /usr/share/php/log4php/Logger.php:273 [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 8. LoggerAppender->doAppend() /usr/share/php/log4php/Logger.php:410 [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 9. LoggerAppenderFile->append() /usr/share/php/log4php/LoggerAppender.php:134 [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 10. LoggerLayoutPattern->format() /usr/share/php/log4php/appenders/LoggerAppenderFile.php:111 [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 11. LoggerPatternConverter->format() /usr/share/php/log4php/layouts/LoggerLayoutPattern.php:189 [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 12. LoggerNamedPatternConverter->convert() /usr/share/php/log4php/helpers/LoggerPatternConverter.php:90 [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 13. LoggerClassNamePatternConverter->getFullyQualifiedName() /usr/share/php/log4php/helpers/LoggerNamedPatternConverter.php:59 # cat log4php.properties log4php.appender.comcenter_log = LoggerAppenderDailyFile log4php.appender.comcenter_log.datePattern = Y-m-d log4php.appender.comcenter_log.file = /srv/ewu/devel/comcenter/log/comcenter_%s.log log4php.appender.comcenter_log.layout = LoggerLayoutPattern log4php.appender.comcenter_log.layout.ConversionPattern = "%d{ISO8601} [%p] %C{1}#%L: %m%n" log4php.rootLogger = DEBUG, comcenter_log -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From log4php-dev-returnmillerjohn@example.net Tue Aug 24 11:10:42 2010 Return-Path: <log4php-dev-returnmillerjohn@example.net> Delivered-To: millerjohn@example.net Received: (qmail 53349 invoked from network); 24 Aug 2010 11:10:42 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 24 Aug 2010 11:10:42 -0000 Received: (qmail 87188 invoked by uid 500); 24 Aug 2010 11:10:42 -0000 Delivered-To: millerjohn@example.net Received: (qmail 87129 invoked by uid 500); 24 Aug 2010 11:10:41 -0000 Mailing-List: contact millerjohn@example.net; run by ezmlm Precedence: bulk list-help: <mailto:millerjohn@example.net> list-unsubscribe: <mailto:millerjohn@example.net> List-Post: <mailto:millerjohn@example.net> Reply-To: "Log4PHP Dev" <millerjohn@example.net> List-Id: <log4php-dev.logging.apache.org> Delivered-To: mailing list millerjohn@example.net Received: (qmail 87122 invoked by uid 99); 24 Aug 2010 11:10:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Aug 2010 11:10:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO thor.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Aug 2010 11:10:39 +0000 Received: from thor (localhost [83.161.120.155]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7OBAJBT019212 for <millerjohn@example.net>; Tue, 24 Aug 2010 11:10:19 GMT Message-ID: <16325023.528691282648219001.JavaMail.jira@thor> Date: Tue, 24 Aug 2010 07:10:18 -0400 (EDT) From: "Christian Hammers (JIRA)" <millerjohn@example.net> To: millerjohn@example.net Subject: [jira] Commented: (LOG4PHP-124) Cannot access private property LoggerLoggingEvent888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4$fqcn In-Reply-To: <14678030.528591282647857533.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LOG4PHP-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901819#action_12901819 ] Christian Hammers commented on LOG4PHP-124: ------------------------------------------- Proposed fix: $ diff -u src/main/php/LoggerLoggingEvent.php /usr/share/php/log4php/LoggerLoggingEvent.php --- src/main/php/LoggerLoggingEvent.php 2009-11-27 07:44:14.000000000 +0100 +++ /usr/share/php/log4php/LoggerLoggingEvent.php 2010-08-24 13:06:10.000000000 +0200 @@ -197,6 +197,15 @@ } /** + * Return the fully qualified class name of this event. + * Use this form instead of directly accessing the {@link $fqcn} field. + * @return string + */ + public function getFqcn() { + return $this->fqcn; + } + + /** * Return the level of this event. Use this form instead of directly * accessing the {@link $level} field. * @return LoggerLevel $ diff -u src/main/php/helpers/LoggerClassNamePatternConverter.php /usr/share/php/log4php/helpers/LoggerClassNamePatternConverter.php --- src/main/php/helpers/LoggerClassNamePatternConverter.php 2009-11-27 07:44:13.000000000 +0100 +++ /usr/share/php/log4php/helpers/LoggerClassNamePatternConverter.php 2010-08-24 13:06:37.000000000 +0200 @@ -39,7 +39,7 @@ * @return string */ public function getFullyQualifiedName($event) { - return $event->fqcn; + return $event->getFqcn(); } } > Cannot access private property LoggerLoggingEvent888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4$fqcn > --------------------------------------------------------- > > Key: LOG4PHP-124 > URL: https://issues.apache.org/jira/browse/LOG4PHP-124 > Project: Log4php > Issue Type: Bug > Components: Code > Affects Versions: 2.0 > Environment: Debian 5.0 Linux > Reporter: Christian Hammers > > Hello > I've encountered the following bug: > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP Fatal error: Cannot access private property LoggerLoggingEvent888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4$fqcn in /usr/share/php/log4php/helpers/LoggerClassNamePatternConverter.php on line 42 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP Stack trace: > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 1. {main}() /srv/ewu/devel/comcenter/src/htdocs/soap/index.php:0 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 2. require_once() /srv/ewu/devel/comcenter/src/htdocs/soap/index.php:5 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 3. Comcenter_Config888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4init() /srv/ewu/devel/comcenter/src/lib/Comcenter/Comcenter_Config.php:3 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 4. Logger->debug() /srv/ewu/devel/comcenter/src/lib/Comcenter/Comcenter_Config.php:60 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 5. Logger->logLevel() /usr/share/php/log4php/Logger.php:216 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 6. Logger->forcedLog() /usr/share/php/log4php/Logger.php:331 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 7. Logger->callAppenders() /usr/share/php/log4php/Logger.php:273 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 8. LoggerAppender->doAppend() /usr/share/php/log4php/Logger.php:410 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 9. LoggerAppenderFile->append() /usr/share/php/log4php/LoggerAppender.php:134 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 10. LoggerLayoutPattern->format() /usr/share/php/log4php/appenders/LoggerAppenderFile.php:111 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 11. LoggerPatternConverter->format() /usr/share/php/log4php/layouts/LoggerLayoutPattern.php:189 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 12. LoggerNamedPatternConverter->convert() /usr/share/php/log4php/helpers/LoggerPatternConverter.php:90 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 13. LoggerClassNamePatternConverter->getFullyQualifiedName() /usr/share/php/log4php/helpers/LoggerNamedPatternConverter.php:59 > # cat log4php.properties > log4php.appender.comcenter_log = LoggerAppenderDailyFile > log4php.appender.comcenter_log.datePattern = Y-m-d > log4php.appender.comcenter_log.file = /srv/ewu/devel/comcenter/log/comcenter_%s.log > log4php.appender.comcenter_log.layout = LoggerLayoutPattern > log4php.appender.comcenter_log.layout.ConversionPattern = "%d{ISO8601} [%p] %C{1}#%L: %m%n" > log4php.rootLogger = DEBUG, comcenter_log -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From log4php-dev-returnmillerjohn@example.net Tue Aug 24 11:15:41 2010 Return-Path: <log4php-dev-returnmillerjohn@example.net> Delivered-To: millerjohn@example.net Received: (qmail 56697 invoked from network); 24 Aug 2010 11:15:41 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 24 Aug 2010 11:15:41 -0000 Received: (qmail 90258 invoked by uid 500); 24 Aug 2010 11:15:41 -0000 Delivered-To: millerjohn@example.net Received: (qmail 90200 invoked by uid 500); 24 Aug 2010 11:15:39 -0000 Mailing-List: contact millerjohn@example.net; run by ezmlm Precedence: bulk list-help: <mailto:millerjohn@example.net> list-unsubscribe: <mailto:millerjohn@example.net> List-Post: <mailto:millerjohn@example.net> Reply-To: "Log4PHP Dev" <millerjohn@example.net> List-Id: <log4php-dev.logging.apache.org> Delivered-To: mailing list millerjohn@example.net Received: (qmail 90192 invoked by uid 99); 24 Aug 2010 11:15:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Aug 2010 11:15:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO thor.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Aug 2010 11:15:38 +0000 Received: from thor (localhost [83.161.120.155]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7OBFHlm019236 for <millerjohn@example.net>; Tue, 24 Aug 2010 11:15:18 GMT Message-ID: <333480.528711282648517771.JavaMail.jira@thor> Date: Tue, 24 Aug 2010 07:15:17 -0400 (EDT) From: "Christian Grobmeier (JIRA)" <millerjohn@example.net> To: millerjohn@example.net Subject: [jira] Commented: (LOG4PHP-124) Cannot access private property LoggerLoggingEvent888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4$fqcn In-Reply-To: <14678030.528591282647857533.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LOG4PHP-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901820#action_12901820 ] Christian Grobmeier commented on LOG4PHP-124: --------------------------------------------- Looks good to me, but should we change fqcn to something else? 1. there are no full qualified classnames in PHP (at least not before namespaces come) 2. fqcn is a sowhat bad variable name 3. we might have a good chance because of BC since it was not released as "public" before > Cannot access private property LoggerLoggingEvent888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4$fqcn > --------------------------------------------------------- > > Key: LOG4PHP-124 > URL: https://issues.apache.org/jira/browse/LOG4PHP-124 > Project: Log4php > Issue Type: Bug > Components: Code > Affects Versions: 2.0 > Environment: Debian 5.0 Linux > Reporter: Christian Hammers > > Hello > I've encountered the following bug: > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP Fatal error: Cannot access private property LoggerLoggingEvent888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4$fqcn in /usr/share/php/log4php/helpers/LoggerClassNamePatternConverter.php on line 42 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP Stack trace: > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 1. {main}() /srv/ewu/devel/comcenter/src/htdocs/soap/index.php:0 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 2. require_once() /srv/ewu/devel/comcenter/src/htdocs/soap/index.php:5 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 3. Comcenter_Config888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4init() /srv/ewu/devel/comcenter/src/lib/Comcenter/Comcenter_Config.php:3 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 4. Logger->debug() /srv/ewu/devel/comcenter/src/lib/Comcenter/Comcenter_Config.php:60 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 5. Logger->logLevel() /usr/share/php/log4php/Logger.php:216 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 6. Logger->forcedLog() /usr/share/php/log4php/Logger.php:331 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 7. Logger->callAppenders() /usr/share/php/log4php/Logger.php:273 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 8. LoggerAppender->doAppend() /usr/share/php/log4php/Logger.php:410 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 9. LoggerAppenderFile->append() /usr/share/php/log4php/LoggerAppender.php:134 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 10. LoggerLayoutPattern->format() /usr/share/php/log4php/appenders/LoggerAppenderFile.php:111 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 11. LoggerPatternConverter->format() /usr/share/php/log4php/layouts/LoggerLayoutPattern.php:189 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 12. LoggerNamedPatternConverter->convert() /usr/share/php/log4php/helpers/LoggerPatternConverter.php:90 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 13. LoggerClassNamePatternConverter->getFullyQualifiedName() /usr/share/php/log4php/helpers/LoggerNamedPatternConverter.php:59 > # cat log4php.properties > log4php.appender.comcenter_log = LoggerAppenderDailyFile > log4php.appender.comcenter_log.datePattern = Y-m-d > log4php.appender.comcenter_log.file = /srv/ewu/devel/comcenter/log/comcenter_%s.log > log4php.appender.comcenter_log.layout = LoggerLayoutPattern > log4php.appender.comcenter_log.layout.ConversionPattern = "%d{ISO8601} [%p] %C{1}#%L: %m%n" > log4php.rootLogger = DEBUG, comcenter_log -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From log4php-dev-returnmillerjohn@example.net Tue Aug 24 12:03:00 2010 Return-Path: <log4php-dev-returnmillerjohn@example.net> Delivered-To: millerjohn@example.net Received: (qmail 68336 invoked from network); 24 Aug 2010 12:03:00 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 24 Aug 2010 12:03:00 -0000 Received: (qmail 39344 invoked by uid 500); 24 Aug 2010 12:03:00 -0000 Delivered-To: millerjohn@example.net Received: (qmail 39279 invoked by uid 500); 24 Aug 2010 12:02:58 -0000 Mailing-List: contact millerjohn@example.net; run by ezmlm Precedence: bulk list-help: <mailto:millerjohn@example.net> list-unsubscribe: <mailto:millerjohn@example.net> List-Post: <mailto:millerjohn@example.net> Reply-To: "Log4PHP Dev" <millerjohn@example.net> List-Id: <log4php-dev.logging.apache.org> Delivered-To: mailing list millerjohn@example.net Received: (qmail 39272 invoked by uid 99); 24 Aug 2010 12:02:57 -0000 Received: from Unknown (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Aug 2010 12:02:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO thor.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Aug 2010 12:02:39 +0000 Received: from thor (localhost [83.161.120.155]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7OC2HH8019587 for <millerjohn@example.net>; Tue, 24 Aug 2010 12:02:17 GMT Message-ID: <9527853.529191282651337824.JavaMail.jira@thor> Date: Tue, 24 Aug 2010 08:02:17 -0400 (EDT) From: "Christian Hammers (JIRA)" <millerjohn@example.net> To: millerjohn@example.net Subject: [jira] Commented: (LOG4PHP-124) Cannot access private property LoggerLoggingEvent888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4$fqcn In-Reply-To: <14678030.528591282647857533.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LOG4PHP-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901832#action_12901832 ] Christian Hammers commented on LOG4PHP-124: ------------------------------------------- to 1: 5.3 is already widely deployed and namespaces will surely be used so I would like to see log4php ready for them. Even if we put a notice that namespaces are not currently supported in %C, using %C{1} works just as expected and prints the current class name. to 2: with namespaces it would make sense... to 3: Great :) Apropos public, what about a new release which would also get rid of this "-incubating" suffix that still makes the downloadable files look somewhat "BETA" and might discourage people from using them. > Cannot access private property LoggerLoggingEvent888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4$fqcn > --------------------------------------------------------- > > Key: LOG4PHP-124 > URL: https://issues.apache.org/jira/browse/LOG4PHP-124 > Project: Log4php > Issue Type: Bug > Components: Code > Affects Versions: 2.0 > Environment: Debian 5.0 Linux > Reporter: Christian Hammers > > Hello > I've encountered the following bug: > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP Fatal error: Cannot access private property LoggerLoggingEvent888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4$fqcn in /usr/share/php/log4php/helpers/LoggerClassNamePatternConverter.php on line 42 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP Stack trace: > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 1. {main}() /srv/ewu/devel/comcenter/src/htdocs/soap/index.php:0 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 2. require_once() /srv/ewu/devel/comcenter/src/htdocs/soap/index.php:5 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 3. Comcenter_Config888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4init() /srv/ewu/devel/comcenter/src/lib/Comcenter/Comcenter_Config.php:3 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 4. Logger->debug() /srv/ewu/devel/comcenter/src/lib/Comcenter/Comcenter_Config.php:60 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 5. Logger->logLevel() /usr/share/php/log4php/Logger.php:216 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 6. Logger->forcedLog() /usr/share/php/log4php/Logger.php:331 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 7. Logger->callAppenders() /usr/share/php/log4php/Logger.php:273 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 8. LoggerAppender->doAppend() /usr/share/php/log4php/Logger.php:410 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 9. LoggerAppenderFile->append() /usr/share/php/log4php/LoggerAppender.php:134 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 10. LoggerLayoutPattern->format() /usr/share/php/log4php/appenders/LoggerAppenderFile.php:111 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 11. LoggerPatternConverter->format() /usr/share/php/log4php/layouts/LoggerLayoutPattern.php:189 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 12. LoggerNamedPatternConverter->convert() /usr/share/php/log4php/helpers/LoggerPatternConverter.php:90 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 13. LoggerClassNamePatternConverter->getFullyQualifiedName() /usr/share/php/log4php/helpers/LoggerNamedPatternConverter.php:59 > # cat log4php.properties > log4php.appender.comcenter_log = LoggerAppenderDailyFile > log4php.appender.comcenter_log.datePattern = Y-m-d > log4php.appender.comcenter_log.file = /srv/ewu/devel/comcenter/log/comcenter_%s.log > log4php.appender.comcenter_log.layout = LoggerLayoutPattern > log4php.appender.comcenter_log.layout.ConversionPattern = "%d{ISO8601} [%p] %C{1}#%L: %m%n" > log4php.rootLogger = DEBUG, comcenter_log -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From log4php-dev-returnmillerjohn@example.net Tue Aug 24 12:09:00 2010 Return-Path: <log4php-dev-returnmillerjohn@example.net> Delivered-To: millerjohn@example.net Received: (qmail 73817 invoked from network); 24 Aug 2010 12:09:00 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 24 Aug 2010 12:09:00 -0000 Received: (qmail 46293 invoked by uid 500); 24 Aug 2010 12:09:00 -0000 Delivered-To: millerjohn@example.net Received: (qmail 46227 invoked by uid 500); 24 Aug 2010 12:08:58 -0000 Mailing-List: contact millerjohn@example.net; run by ezmlm Precedence: bulk list-help: <mailto:millerjohn@example.net> list-unsubscribe: <mailto:millerjohn@example.net> List-Post: <mailto:millerjohn@example.net> Reply-To: "Log4PHP Dev" <millerjohn@example.net> List-Id: <log4php-dev.logging.apache.org> Delivered-To: mailing list millerjohn@example.net Received: (qmail 46220 invoked by uid 99); 24 Aug 2010 12:08:57 -0000 Received: from Unknown (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Aug 2010 12:08:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO thor.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Aug 2010 12:08:39 +0000 Received: from thor (localhost [83.161.120.155]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7OC8I60019607 for <millerjohn@example.net>; Tue, 24 Aug 2010 12:08:18 GMT Message-ID: <10604527.529211282651698070.JavaMail.jira@thor> Date: Tue, 24 Aug 2010 08:08:18 -0400 (EDT) From: "Christian Grobmeier (JIRA)" <millerjohn@example.net> To: millerjohn@example.net Subject: [jira] Commented: (LOG4PHP-124) Cannot access private property LoggerLoggingEvent888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4$fqcn In-Reply-To: <14678030.528591282647857533.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LOG4PHP-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901833#action_12901833 ] Christian Grobmeier commented on LOG4PHP-124: --------------------------------------------- well fqcn is still bader than getFullQualifiedClassName() I just meant: write it out Whats you opinion on that? And yes, I am also looking forward to a new release without -incubating - lets discuss it on the mailinglist, ok? > Cannot access private property LoggerLoggingEvent888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4$fqcn > --------------------------------------------------------- > > Key: LOG4PHP-124 > URL: https://issues.apache.org/jira/browse/LOG4PHP-124 > Project: Log4php > Issue Type: Bug > Components: Code > Affects Versions: 2.0 > Environment: Debian 5.0 Linux > Reporter: Christian Hammers > > Hello > I've encountered the following bug: > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP Fatal error: Cannot access private property LoggerLoggingEvent888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4$fqcn in /usr/share/php/log4php/helpers/LoggerClassNamePatternConverter.php on line 42 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP Stack trace: > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 1. {main}() /srv/ewu/devel/comcenter/src/htdocs/soap/index.php:0 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 2. require_once() /srv/ewu/devel/comcenter/src/htdocs/soap/index.php:5 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 3. Comcenter_Config888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4init() /srv/ewu/devel/comcenter/src/lib/Comcenter/Comcenter_Config.php:3 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 4. Logger->debug() /srv/ewu/devel/comcenter/src/lib/Comcenter/Comcenter_Config.php:60 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 5. Logger->logLevel() /usr/share/php/log4php/Logger.php:216 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 6. Logger->forcedLog() /usr/share/php/log4php/Logger.php:331 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 7. Logger->callAppenders() /usr/share/php/log4php/Logger.php:273 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 8. LoggerAppender->doAppend() /usr/share/php/log4php/Logger.php:410 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 9. LoggerAppenderFile->append() /usr/share/php/log4php/LoggerAppender.php:134 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 10. LoggerLayoutPattern->format() /usr/share/php/log4php/appenders/LoggerAppenderFile.php:111 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 11. LoggerPatternConverter->format() /usr/share/php/log4php/layouts/LoggerLayoutPattern.php:189 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 12. LoggerNamedPatternConverter->convert() /usr/share/php/log4php/helpers/LoggerPatternConverter.php:90 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 13. LoggerClassNamePatternConverter->getFullyQualifiedName() /usr/share/php/log4php/helpers/LoggerNamedPatternConverter.php:59 > # cat log4php.properties > log4php.appender.comcenter_log = LoggerAppenderDailyFile > log4php.appender.comcenter_log.datePattern = Y-m-d > log4php.appender.comcenter_log.file = /srv/ewu/devel/comcenter/log/comcenter_%s.log > log4php.appender.comcenter_log.layout = LoggerLayoutPattern > log4php.appender.comcenter_log.layout.ConversionPattern = "%d{ISO8601} [%p] %C{1}#%L: %m%n" > log4php.rootLogger = DEBUG, comcenter_log -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From log4php-dev-returnmillerjohn@example.net Tue Aug 24 12:14:42 2010 Return-Path: <log4php-dev-returnmillerjohn@example.net> Delivered-To: millerjohn@example.net Received: (qmail 76642 invoked from network); 24 Aug 2010 12:14:42 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 24 Aug 2010 12:14:42 -0000 Received: (qmail 50539 invoked by uid 500); 24 Aug 2010 12:14:42 -0000 Delivered-To: millerjohn@example.net Received: (qmail 50475 invoked by uid 500); 24 Aug 2010 12:14:41 -0000 Mailing-List: contact millerjohn@example.net; run by ezmlm Precedence: bulk list-help: <mailto:millerjohn@example.net> list-unsubscribe: <mailto:millerjohn@example.net> List-Post: <mailto:millerjohn@example.net> Reply-To: "Log4PHP Dev" <millerjohn@example.net> List-Id: <log4php-dev.logging.apache.org> Delivered-To: mailing list millerjohn@example.net Received: (qmail 50468 invoked by uid 99); 24 Aug 2010 12:14:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Aug 2010 12:14:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO thor.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Aug 2010 12:14:40 +0000 Received: from thor (localhost [83.161.120.155]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7OCEJN4019643 for <millerjohn@example.net>; Tue, 24 Aug 2010 12:14:19 GMT Message-ID: <32769904.529291282652059444.JavaMail.jira@thor> Date: Tue, 24 Aug 2010 08:14:19 -0400 (EDT) From: "Christian Hammers (JIRA)" <millerjohn@example.net> To: millerjohn@example.net Subject: [jira] Commented: (LOG4PHP-124) Cannot access private property LoggerLoggingEvent888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4$fqcn In-Reply-To: <14678030.528591282647857533.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LOG4PHP-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901837#action_12901837 ] Christian Hammers commented on LOG4PHP-124: ------------------------------------------- Ah, you mean for the public getter method - there more descriptive name can never hurt :) > Cannot access private property LoggerLoggingEvent888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4$fqcn > --------------------------------------------------------- > > Key: LOG4PHP-124 > URL: https://issues.apache.org/jira/browse/LOG4PHP-124 > Project: Log4php > Issue Type: Bug > Components: Code > Affects Versions: 2.0 > Environment: Debian 5.0 Linux > Reporter: Christian Hammers > > Hello > I've encountered the following bug: > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP Fatal error: Cannot access private property LoggerLoggingEvent888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4$fqcn in /usr/share/php/log4php/helpers/LoggerClassNamePatternConverter.php on line 42 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP Stack trace: > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 1. {main}() /srv/ewu/devel/comcenter/src/htdocs/soap/index.php:0 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 2. require_once() /srv/ewu/devel/comcenter/src/htdocs/soap/index.php:5 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 3. Comcenter_Config888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4init() /srv/ewu/devel/comcenter/src/lib/Comcenter/Comcenter_Config.php:3 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 4. Logger->debug() /srv/ewu/devel/comcenter/src/lib/Comcenter/Comcenter_Config.php:60 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 5. Logger->logLevel() /usr/share/php/log4php/Logger.php:216 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 6. Logger->forcedLog() /usr/share/php/log4php/Logger.php:331 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 7. Logger->callAppenders() /usr/share/php/log4php/Logger.php:273 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 8. LoggerAppender->doAppend() /usr/share/php/log4php/Logger.php:410 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 9. LoggerAppenderFile->append() /usr/share/php/log4php/LoggerAppender.php:134 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 10. LoggerLayoutPattern->format() /usr/share/php/log4php/appenders/LoggerAppenderFile.php:111 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 11. LoggerPatternConverter->format() /usr/share/php/log4php/layouts/LoggerLayoutPattern.php:189 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 12. LoggerNamedPatternConverter->convert() /usr/share/php/log4php/helpers/LoggerPatternConverter.php:90 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 13. LoggerClassNamePatternConverter->getFullyQualifiedName() /usr/share/php/log4php/helpers/LoggerNamedPatternConverter.php:59 > # cat log4php.properties > log4php.appender.comcenter_log = LoggerAppenderDailyFile > log4php.appender.comcenter_log.datePattern = Y-m-d > log4php.appender.comcenter_log.file = /srv/ewu/devel/comcenter/log/comcenter_%s.log > log4php.appender.comcenter_log.layout = LoggerLayoutPattern > log4php.appender.comcenter_log.layout.ConversionPattern = "%d{ISO8601} [%p] %C{1}#%L: %m%n" > log4php.rootLogger = DEBUG, comcenter_log -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From log4php-dev-returnmillerjohn@example.net Tue Aug 24 12:28:12 2010 Return-Path: <log4php-dev-returnmillerjohn@example.net> Delivered-To: millerjohn@example.net Received: (qmail 87437 invoked from network); 24 Aug 2010 12:28:12 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 24 Aug 2010 12:28:12 -0000 Received: (qmail 61284 invoked by uid 500); 24 Aug 2010 12:28:12 -0000 Delivered-To: millerjohn@example.net Received: (qmail 61032 invoked by uid 500); 24 Aug 2010 12:28:10 -0000 Mailing-List: contact millerjohn@example.net; run by ezmlm Precedence: bulk list-help: <mailto:millerjohn@example.net> list-unsubscribe: <mailto:millerjohn@example.net> List-Post: <mailto:millerjohn@example.net> Reply-To: "Log4PHP Dev" <millerjohn@example.net> List-Id: <log4php-dev.logging.apache.org> Delivered-To: mailing list millerjohn@example.net Received: (qmail 60267 invoked by uid 99); 24 Aug 2010 12:28:09 -0000 Received: from Unknown (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Aug 2010 12:28:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO thor.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Aug 2010 12:27:52 +0000 Received: from thor (localhost [83.161.120.155]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7OCRUt5019734 for <millerjohn@example.net>; Tue, 24 Aug 2010 12:27:30 GMT Message-ID: <20192438.529461282652850353.JavaMail.jira@thor> Date: Tue, 24 Aug 2010 08:27:30 -0400 (EDT) From: "Christian Grobmeier (JIRA)" <millerjohn@example.net> To: millerjohn@example.net Subject: [jira] Commented: (LOG4PHP-124) Cannot access private property LoggerLoggingEvent888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4$fqcn In-Reply-To: <14678030.528591282647857533.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LOG4PHP-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901845#action_12901845 ] Christian Grobmeier commented on LOG4PHP-124: --------------------------------------------- yes and for the member itself too :-) > Cannot access private property LoggerLoggingEvent888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4$fqcn > --------------------------------------------------------- > > Key: LOG4PHP-124 > URL: https://issues.apache.org/jira/browse/LOG4PHP-124 > Project: Log4php > Issue Type: Bug > Components: Code > Affects Versions: 2.0 > Environment: Debian 5.0 Linux > Reporter: Christian Hammers > > Hello > I've encountered the following bug: > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP Fatal error: Cannot access private property LoggerLoggingEvent888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4$fqcn in /usr/share/php/log4php/helpers/LoggerClassNamePatternConverter.php on line 42 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP Stack trace: > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 1. {main}() /srv/ewu/devel/comcenter/src/htdocs/soap/index.php:0 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 2. require_once() /srv/ewu/devel/comcenter/src/htdocs/soap/index.php:5 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 3. Comcenter_Config888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4init() /srv/ewu/devel/comcenter/src/lib/Comcenter/Comcenter_Config.php:3 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 4. Logger->debug() /srv/ewu/devel/comcenter/src/lib/Comcenter/Comcenter_Config.php:60 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 5. Logger->logLevel() /usr/share/php/log4php/Logger.php:216 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 6. Logger->forcedLog() /usr/share/php/log4php/Logger.php:331 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 7. Logger->callAppenders() /usr/share/php/log4php/Logger.php:273 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 8. LoggerAppender->doAppend() /usr/share/php/log4php/Logger.php:410 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 9. LoggerAppenderFile->append() /usr/share/php/log4php/LoggerAppender.php:134 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 10. LoggerLayoutPattern->format() /usr/share/php/log4php/appenders/LoggerAppenderFile.php:111 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 11. LoggerPatternConverter->format() /usr/share/php/log4php/layouts/LoggerLayoutPattern.php:189 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 12. LoggerNamedPatternConverter->convert() /usr/share/php/log4php/helpers/LoggerPatternConverter.php:90 > [Tue Aug 24 12:59:45 2010] [error] [client 83.161.120.155] PHP 13. LoggerClassNamePatternConverter->getFullyQualifiedName() /usr/share/php/log4php/helpers/LoggerNamedPatternConverter.php:59 > # cat log4php.properties > log4php.appender.comcenter_log = LoggerAppenderDailyFile > log4php.appender.comcenter_log.datePattern = Y-m-d > log4php.appender.comcenter_log.file = /srv/ewu/devel/comcenter/log/comcenter_%s.log > log4php.appender.comcenter_log.layout = LoggerLayoutPattern > log4php.appender.comcenter_log.layout.ConversionPattern = "%d{ISO8601} [%p] %C{1}#%L: %m%n" > log4php.rootLogger = DEBUG, comcenter_log -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From log4php-dev-returnmillerjohn@example.net Tue Aug 31 10:12:23 2010 Return-Path: <log4php-dev-returnmillerjohn@example.net> Delivered-To: millerjohn@example.net Received: (qmail 54446 invoked from network); 31 Aug 2010 10:12:23 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 31 Aug 2010 10:12:23 -0000 Received: (qmail 19206 invoked by uid 500); 31 Aug 2010 10:12:22 -0000 Delivered-To: millerjohn@example.net Received: (qmail 18380 invoked by uid 500); 31 Aug 2010 10:12:20 -0000 Mailing-List: contact millerjohn@example.net; run by ezmlm Precedence: bulk list-help: <mailto:millerjohn@example.net> list-unsubscribe: <mailto:millerjohn@example.net> List-Post: <mailto:millerjohn@example.net> Reply-To: "Log4PHP Dev" <millerjohn@example.net> List-Id: <log4php-dev.logging.apache.org> Delivered-To: mailing list millerjohn@example.net Received: (qmail 18373 invoked by uid 99); 31 Aug 2010 10:12:19 -0000 Received: from Unknown (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Aug 2010 10:12:19 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of millerjohn@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Aug 2010 10:11:58 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <millerjohn@example.net>) id 1OqNoX-0003FK-DZ for millerjohn@example.net; Tue, 31 Aug 2010 03:11:37 -0700 Message-ID: <millerjohn@example.net> Date: Tue, 31 Aug 2010 03:11:37 -0700 (PDT) From: zalex06 <millerjohn@example.net> To: millerjohn@example.net Subject: Problem with utilisation of multiple file_properties MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: millerjohn@example.net X-Virus-Checked: Checked by ClamAV on apache.org Hi everyone, I have a problem when i use multiple file_properties. I want to uses an appender_mail and an appender file : //My appender_file.properties log4php.appender.default = LoggerAppenderFile log4php.appender.default.file = ../../log/file.log log4php.appender.default.layout = LoggerLayoutTTCC log4php.rootLogger = DEBUG, default //My appender_mail.properties log4php.appender.email = LoggerAppenderMail log4php.appender.email.layout = LoggerLayoutTTCC log4php.appender.email.from = ***@*** log4php.appender.email.to = ***@*** log4php.appender.email.subject = Log4php test log4php.rootLogger = ERROR, email // the test in my php file $userMessage ='test'; $from= ***@***"; $to="***@***"; $subject="Test mail"; usersErrors($userMessage); mailErrors($from,$to,$subject,$userMessage); My two functions //Fonction which writes php errors in a file (log/phpErrors.log by default) function phpErrors($userMessage){ Logger888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4onfigure($_SERVER["DOCUMENT_ROOT"]."/log4php/appender_file.properties"); $logger = Logger888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4getRootLogger(); $appender = new LoggerAppenderFile("MyAppender"); $appender->setFile(LOG_FOLDER.'/'.PHP_ERRORS_LOG_FILE_NAME, true); $appenderlayout = new LoggerLayoutTTCC(); $appender->setLayout($appenderlayout); $appender->activateOptions(); $logger->removeAllAppenders(); $logger->addAppender($appender); $logger->debug($userMessage); } //Fonction which sends a mail function mailErrors($from="", $to="", $subject="",$userMessage){ Logger888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4onfigure($_SERVER["DOCUMENT_ROOT"]."/log4php/appender_mail.properties"); $logger = Logger888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4getRootLogger(); $loggerMail = $logger->getAppender("email"); $loggerMail->setFrom($from); $loggerMail->setTo($to); $loggerMail->setSubject($subject); $logger->error($userMessage); } I have the message setFrom is use in a non-object It's the sames thing if i put usersErrors($userMessage); after mailErrors i have the message for setFile in a non object Help me please -- View this message in context: http://old.nabble.com/Problem-with-utilisation-of-multiple-file_properties-tp29581278p29581278.html Sent from the Log4php - Dev mailing list millerjohn@example.net. From log4php-dev-returnmillerjohn@example.net Tue Aug 31 12:13:57 2010 Return-Path: <log4php-dev-returnmillerjohn@example.net> Delivered-To: millerjohn@example.net Received: (qmail 97977 invoked from network); 31 Aug 2010 12:13:57 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 31 Aug 2010 12:13:57 -0000 Received: (qmail 43494 invoked by uid 500); 31 Aug 2010 12:13:57 -0000 Delivered-To: millerjohn@example.net Received: (qmail 43430 invoked by uid 500); 31 Aug 2010 12:13:56 -0000 Mailing-List: contact millerjohn@example.net; run by ezmlm Precedence: bulk list-help: <mailto:millerjohn@example.net> list-unsubscribe: <mailto:millerjohn@example.net> List-Post: <mailto:millerjohn@example.net> Reply-To: "Log4PHP Dev" <millerjohn@example.net> List-Id: <log4php-dev.logging.apache.org> Delivered-To: mailing list millerjohn@example.net Received: (qmail 43417 invoked by uid 99); 31 Aug 2010 12:13:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Aug 2010 12:13:55 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of millerjohn@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-vw0-f47.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Aug 2010 12:13:49 +0000 Received: by vws9 with SMTP id 9so3070264vws.34 for <millerjohn@example.net>; Tue, 31 Aug 2010 05:13:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=QX8ARJI5BMAHbs/+LfAQ2/P4d8QE9/VRhg9uoATGfUI=; b=Ymyl71nbxro4qJXtMITvur9Pn0wYO+3q8BjdKVNYTytId8w/0duN73V0+nwBJsE3up gj1omvh5oH0Mvny5IZ+OhohK+Q0FKce3AOXnX5o6yDx0Gfny7Rqn++6MoG0Nap7g39q1 ogPaukO1V+LEKSeNi5ByKIMXEZlr21s11qqrs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=s5XO2xF8sclnvKtaiY2r30Za/s3VaPV8tQMsN6akTB+Q0ZW2vfep3kOWce1OPjpL5f tj8W21tQz745dlf6SJXfyV+7Yk7IBhA/szz73SegDBbiz7SnQPU3AQcOwrHqCtp4JTd2 dBggP8B2Krea2fW0nLBa8fKa8R3zHYDStnmRk= Received: by 83.161.120.155 with SMTP id v19mr3257838vcr.44.1283256808277; Tue, 31 Aug 2010 05:13:28 -0700 (PDT) MIME-Version: 1.0 Received: by 83.161.120.155 with HTTP; Tue, 31 Aug 2010 05:13:08 -0700 (PDT) In-Reply-To: <millerjohn@example.net> References: <millerjohn@example.net> From: Christian Grobmeier <millerjohn@example.net> Date: Tue, 31 Aug 2010 14:13:08 +0200 Message-ID: <millerjohn@example.net> Subject: Re: Problem with utilisation of multiple file_properties To: Log4PHP Dev <millerjohn@example.net> Content-Type: text/plain; charset=UTF-8 Hi can you try to put these into quotes? > log4php.appender.email.from = '***@***' > log4php.appender.email.to = '***@***' > log4php.appender.email.subject = "Log4php test" I cannot access the docs at the moment, but if you could try - that might already solve your problem If not, please send over the complete message. Cheers christian From log4php-dev-returnmillerjohn@example.net Tue Aug 31 12:54:14 2010 Return-Path: <log4php-dev-returnmillerjohn@example.net> Delivered-To: millerjohn@example.net Received: (qmail 19338 invoked from network); 31 Aug 2010 12:54:14 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 31 Aug 2010 12:54:14 -0000 Received: (qmail 624 invoked by uid 500); 31 Aug 2010 12:54:14 -0000 Delivered-To: millerjohn@example.net Received: (qmail 568 invoked by uid 500); 31 Aug 2010 12:54:13 -0000 Mailing-List: contact millerjohn@example.net; run by ezmlm Precedence: bulk list-help: <mailto:millerjohn@example.net> list-unsubscribe: <mailto:millerjohn@example.net> List-Post: <mailto:millerjohn@example.net> Reply-To: "Log4PHP Dev" <millerjohn@example.net> List-Id: <log4php-dev.logging.apache.org> Delivered-To: mailing list millerjohn@example.net Received: (qmail 561 invoked by uid 99); 31 Aug 2010 12:54:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Aug 2010 12:54:12 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of millerjohn@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Aug 2010 12:54:06 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <millerjohn@example.net>) id 1OqQLP-0004Mf-AS for millerjohn@example.net; Tue, 31 Aug 2010 05:53:43 -0700 Message-ID: <millerjohn@example.net> Date: Tue, 31 Aug 2010 05:53:43 -0700 (PDT) From: zalex06 <millerjohn@example.net> To: millerjohn@example.net Subject: Re: Problem with utilisation of multiple file_properties In-Reply-To: <millerjohn@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: millerjohn@example.net References: <millerjohn@example.net> <millerjohn@example.net> X-Virus-Checked: Checked by ClamAV on apache.org No, its' not this My problem is if one of the two functions are used it works but it the both are used. The first is ok but the second no I think the problem is this line in the functions but i m not sure: for mail : Logger888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4onfigure($_SERVER["DOCUMENT_ROOT"]."/log4php/appender_mail.properties"); for file : Logger888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4onfigure($_SERVER["DOCUMENT_ROOT"]."/log4php/appender_file.properties"); Christian grobmeier wrote: > > Hi > can you try to put these into quotes? > >> log4php.appender.email.from = '***@***' >> log4php.appender.email.to = '***@***' >> log4php.appender.email.subject = "Log4php test" > > I cannot access the docs at the moment, but if you could try - that > might already solve your problem > If not, please send over the complete message. > Cheers > christian > > -- View this message in context: http://old.nabble.com/Problem-with-utilisation-of-multiple-file_properties-tp29581278p29582613.html Sent from the Log4php - Dev mailing list millerjohn@example.net. From log4php-dev-returnmillerjohn@example.net Tue Aug 31 13:11:58 2010 Return-Path: <log4php-dev-returnmillerjohn@example.net> Delivered-To: millerjohn@example.net Received: (qmail 26334 invoked from network); 31 Aug 2010 13:11:58 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 31 Aug 2010 13:11:58 -0000 Received: (qmail 14757 invoked by uid 500); 31 Aug 2010 13:11:58 -0000 Delivered-To: millerjohn@example.net Received: (qmail 14532 invoked by uid 500); 31 Aug 2010 13:11:57 -0000 Mailing-List: contact millerjohn@example.net; run by ezmlm Precedence: bulk list-help: <mailto:millerjohn@example.net> list-unsubscribe: <mailto:millerjohn@example.net> List-Post: <mailto:millerjohn@example.net> Reply-To: "Log4PHP Dev" <millerjohn@example.net> List-Id: <log4php-dev.logging.apache.org> Delivered-To: mailing list millerjohn@example.net Received: (qmail 13953 invoked by uid 99); 31 Aug 2010 13:11:56 -0000 Received: from Unknown (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Aug 2010 13:11:56 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of millerjohn@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-vw0-f47.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Aug 2010 13:11:33 +0000 Received: by vws9 with SMTP id 9so3141601vws.34 for <millerjohn@example.net>; Tue, 31 Aug 2010 06:11:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=WNkYyV870uZrlcuzWcc1iuve49Vcpk8sd+eV0xsARyE=; b=NFH3RCT4g9LhWh0DvCUpxGPK0+AMGbyvZn7RAYj/fUn8j1WSHW8zbGabL0Lz+xkWso v3nrzo83R65iJ6tdOHJMWkL4DYOoC/OT+dyTIoQyqATfsE/yCj8zZHyEKv2QcT8Xd6S/ +adWDzhzJOBP1bOg7tm7P0D20L7DvvT5exm2c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=bUcroh3YxBzFprT2z7BWBgZrb/WeoiwuQ4exugyjqrcoatnClObS9AxaOjSum3wWAB JNzftKzCkOrw1ffWGYNKWhyh30LBIPPRbRW9w/31p+QKdvQJVVouyZD5vR2utB4NQV6U bTncnmXsBJypN//iOIWT3rPWLCiPAHflcKdLc= Received: by 83.161.120.155 with SMTP id k4mr3498343vcs.257.1283260272768; Tue, 31 Aug 2010 06:11:12 -0700 (PDT) MIME-Version: 1.0 Received: by 83.161.120.155 with HTTP; Tue, 31 Aug 2010 06:10:52 -0700 (PDT) In-Reply-To: <millerjohn@example.net> References: <millerjohn@example.net> <millerjohn@example.net> <millerjohn@example.net> From: Christian Grobmeier <millerjohn@example.net> Date: Tue, 31 Aug 2010 15:10:52 +0200 Message-ID: <millerjohn@example.net> Subject: Re: Problem with utilisation of multiple file_properties To: Log4PHP Dev <millerjohn@example.net> Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org > I think the problem is this line in the functions but i m not sure: > for mail : > Logger888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4onfigure($_SERVER["DOCUMENT_ROOT"]."/log4php/appender_mail.properties"); > > for file : > Logger888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4onfigure($_SERVER["DOCUMENT_ROOT"]."/log4php/appender_file.properties"); Actually you are right. If you look into this class: http://svn.apache.org/viewvc/logging/log4php/trunk/src/main/php/Logger.php?view=markup you'll see that multiple configuration files are not supported yet. It would make sense to create such a feature, but at the moment its not there. You can only have one file. Is it possible for you to merge these two files? Cheers Christian From log4php-dev-returnmillerjohn@example.net Tue Aug 31 13:39:13 2010 Return-Path: <log4php-dev-returnmillerjohn@example.net> Delivered-To: millerjohn@example.net Received: (qmail 40206 invoked from network); 31 Aug 2010 13:39:13 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 31 Aug 2010 13:39:13 -0000 Received: (qmail 39580 invoked by uid 500); 31 Aug 2010 13:39:13 -0000 Delivered-To: millerjohn@example.net Received: (qmail 39520 invoked by uid 500); 31 Aug 2010 13:39:11 -0000 Mailing-List: contact millerjohn@example.net; run by ezmlm Precedence: bulk list-help: <mailto:millerjohn@example.net> list-unsubscribe: <mailto:millerjohn@example.net> List-Post: <mailto:millerjohn@example.net> Reply-To: "Log4PHP Dev" <millerjohn@example.net> List-Id: <log4php-dev.logging.apache.org> Delivered-To: mailing list millerjohn@example.net Received: (qmail 39513 invoked by uid 99); 31 Aug 2010 13:39:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Aug 2010 13:39:10 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of millerjohn@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Aug 2010 13:39:06 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <millerjohn@example.net>) id 1OqR30-00021R-0g for millerjohn@example.net; Tue, 31 Aug 2010 06:38:46 -0700 Message-ID: <millerjohn@example.net> Date: Tue, 31 Aug 2010 06:38:46 -0700 (PDT) From: zalex06 <millerjohn@example.net> To: millerjohn@example.net Subject: Re: Problem with utilisation of multiple file_properties In-Reply-To: <millerjohn@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: millerjohn@example.net References: <millerjohn@example.net> <millerjohn@example.net> <millerjohn@example.net> <millerjohn@example.net> I try this : log4php.appender.default = LoggerAppenderFile log4php.appender.default.file = ../../log/file.log log4php.appender.default.layout = LoggerLayoutTTCC log4php.appender.email = LoggerAppenderMail log4php.appender.email.layout = LoggerLayoutTTCC log4php.appender.email.from = millerjohn@example.net log4php.appender.email.to = millerjohn@example.net log4php.appender.email.subject = Log4php test log4php.rootLogger = ERROR,DEBUG,email,appender but the first function is priority in the second, so mail if placed in second not works (equals for file) :s Here i think the error is in rootLogger, It is a good solution to do in each function $logger = Logger888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4getRootLogger(); ? Christian grobmeier wrote: > >> I think the problem is this line in the functions but i m not sure: >> for mail : >> Logger888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4onfigure($_SERVER["DOCUMENT_ROOT"]."/log4php/appender_mail.properties"); >> >> for file : >> Logger888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4onfigure($_SERVER["DOCUMENT_ROOT"]."/log4php/appender_file.properties"); > > Actually you are right. If you look into this class: > http://svn.apache.org/viewvc/logging/log4php/trunk/src/main/php/Logger.php?view=markup > > you'll see that multiple configuration files are not supported yet. It > would make sense to create such a feature, but at the moment its not > there. You can only have one file. Is it possible for you to merge > these two files? > > Cheers > Christian > > -- View this message in context: http://old.nabble.com/Problem-with-utilisation-of-multiple-file_properties-tp29581278p29583038.html Sent from the Log4php - Dev mailing list millerjohn@example.net. From log4php-dev-returnmillerjohn@example.net Tue Aug 31 14:54:27 2010 Return-Path: <log4php-dev-returnmillerjohn@example.net> Delivered-To: millerjohn@example.net Received: (qmail 65772 invoked from network); 31 Aug 2010 14:54:27 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 31 Aug 2010 14:54:27 -0000 Received: (qmail 67699 invoked by uid 500); 31 Aug 2010 14:54:27 -0000 Delivered-To: millerjohn@example.net Received: (qmail 67643 invoked by uid 500); 31 Aug 2010 14:54:26 -0000 Mailing-List: contact millerjohn@example.net; run by ezmlm Precedence: bulk list-help: <mailto:millerjohn@example.net> list-unsubscribe: <mailto:millerjohn@example.net> List-Post: <mailto:millerjohn@example.net> Reply-To: "Log4PHP Dev" <millerjohn@example.net> List-Id: <log4php-dev.logging.apache.org> Delivered-To: mailing list millerjohn@example.net Received: (qmail 67636 invoked by uid 99); 31 Aug 2010 14:54:25 -0000 Received: from Unknown (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Aug 2010 14:54:25 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of millerjohn@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-vw0-f47.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Aug 2010 14:54:03 +0000 Received: by vws9 with SMTP id 9so3276535vws.34 for <millerjohn@example.net>; Tue, 31 Aug
{'source': 'Apache Software Foundation Public Mail Archives'}