From log4php-user-returnejohnson@example.net Fri May 07 09:48:52 2010
Return-Path: <log4php-user-returnejohnson@example.net>
Delivered-To: ejohnson@example.net
Received: (qmail 1152 invoked from network); 7 May 2010 09:48:52 -0000
Received: from unknown (HELO mail.apache.org) (83.161.120.155)
  by 83.161.120.155 with SMTP; 7 May 2010 09:48:52 -0000
Received: (qmail 16174 invoked by uid 500); 7 May 2010 09:48:52 -0000
Delivered-To: ejohnson@example.net
Received: (qmail 16089 invoked by uid 500); 7 May 2010 09:48:50 -0000
Mailing-List: contact ejohnson@example.net; run by ezmlm
Precedence: bulk
list-help: <mailto:ejohnson@example.net>
list-unsubscribe: <mailto:ejohnson@example.net>
List-Post: <mailto:ejohnson@example.net>
Reply-To: "Log4PHP User" <ejohnson@example.net>
List-Id: <log4php-user.logging.apache.org>
Delivered-To: mailing list ejohnson@example.net
Received: (qmail 16081 invoked by uid 99); 7 May 2010 09:48:50 -0000
Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 May 2010 09:48:50 +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 ejohnson@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; Fri, 07 May 2010 09:48:44 +0000
Received: from isper.nabble.com ([83.161.120.155])
	by kuber.nabble.com with esmtp (Exim 4.63)
	(envelope-from <ejohnson@example.net>)
	id 1OAKAS-0001fc-3b
	for ejohnson@example.net; Fri, 07 May 2010 02:48:24 -0700
Message-ID: <ejohnson@example.net>
Date: Fri, 7 May 2010 02:48:24 -0700 (PDT)
From: PriyaPrakash <ejohnson@example.net>
To: ejohnson@example.net
Subject: Re: Add appender programmatically
In-Reply-To: <ejohnson@example.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Nabble-From: ejohnson@example.net
References: <ejohnson@example.net> <ejohnson@example.net> <ejohnson@example.net> <ejohnson@example.net> <ejohnson@example.net> <ejohnson@example.net> <ejohnson@example.net>



Hi,

 I am currently working in the latest version of log4php2.0,use ur code, its
work perfectly to add appender programmatically but the log level messages
are not displayed in the log file,give ur ideas.


-- 
View this message in context: http://old.nabble.com/Add-appender-programmatically-tp28228274p28484114.html
Sent from the Log4php - Users mailing list ejohnson@example.net.


From log4php-user-returnejohnson@example.net Fri May 07 09:53:56 2010
Return-Path: <log4php-user-returnejohnson@example.net>
Delivered-To: ejohnson@example.net
Received: (qmail 1836 invoked from network); 7 May 2010 09:53:56 -0000
Received: from unknown (HELO mail.apache.org) (83.161.120.155)
  by 83.161.120.155 with SMTP; 7 May 2010 09:53:56 -0000
Received: (qmail 20702 invoked by uid 500); 7 May 2010 09:53:55 -0000
Delivered-To: ejohnson@example.net
Received: (qmail 20614 invoked by uid 500); 7 May 2010 09:53:54 -0000
Mailing-List: contact ejohnson@example.net; run by ezmlm
Precedence: bulk
list-help: <mailto:ejohnson@example.net>
list-unsubscribe: <mailto:ejohnson@example.net>
List-Post: <mailto:ejohnson@example.net>
Reply-To: "Log4PHP User" <ejohnson@example.net>
List-Id: <log4php-user.logging.apache.org>
Delivered-To: mailing list ejohnson@example.net
Received: (qmail 20606 invoked by uid 99); 7 May 2010 09:53:54 -0000
Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 May 2010 09:53:54 +0000
X-ASF-Spam-Status: No, hits=-0.3 required=10.0
	tests=AWL,SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (athena.apache.org: domain of ejohnson@example.net designates 83.161.120.155 as permitted sender)
Received: from [83.161.120.155] (HELO relay02bcn.cast-info.es) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 May 2010 09:53:47 +0000
Received: by relay02bcn.cast-info.es (Postfix, from userid 104)
	id 147C233F3A2; Fri,  7 May 2010 11:53:26 +0200 (CEST)
Received: from localhost (relay02bcn.cast-info.es [83.161.120.155])
	by relay02bcn.cast-info.es (Postfix) with ESMTP id 0565433F3A0
	for <ejohnson@example.net>; Fri,  7 May 2010 11:53:26 +0200 (CEST)
Received: from relay02bcn.cast-info.es ([83.161.120.155])
 by localhost (relay01bcn.cast-info.es [83.161.120.155]) (amavisd-maia, port 10025)
 with ESMTP id 22259-08 for <ejohnson@example.net>;
 Fri,  7 May 2010 11:53:21 +0200 (CEST)
Received: from latitucast.localnet (unknown [83.161.120.155])
	by relay02bcn.cast-info.es (Postfix) with ESMTP id 5C79C33F396
	for <ejohnson@example.net>; Fri,  7 May 2010 11:53:21 +0200 (CEST)
From: Miquel Canes <ejohnson@example.net>
Organization: Cast-Info
To: "Log4PHP User" <ejohnson@example.net>
Subject: Re: Add appender programmatically
Date: Fri, 7 May 2010 11:53:49 +0200
User-Agent: KMail/1.13.2 (Linux/2.6.33-ARCH; KDE/4.4.2; i686; ; )
References: <ejohnson@example.net> <ejohnson@example.net> <ejohnson@example.net>
In-Reply-To: <ejohnson@example.net>
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <ejohnson@example.net>
X-Virus-Scanned: Maia Mailguard 1.0.2a

On Friday 07 May 2010 11:48:24 PriyaPrakash wrote:
> Hi,
> 
>  I am currently working in the latest version of log4php2.0,use ur code,
> its work perfectly to add appender programmatically but the log level
> messages are not displayed in the log file,give ur ideas.

Hi,
If you use the code of this post, it has an error on the loggerLayoutpattern 
line.

Use these two lines instead of   $layout = new LoggerLayoutPattern("[%p] %t %c 
- %m%n");


$layout = new LoggerLayoutPattern("");
$layout->setConversionPattern("[%p] %t %c - %m%n");


*Advertencia legal: en virtud de lo establecido en la Ley Orgánica 15/1999 de Protección de Datos de Carácter Personal, le informamos de que los datos personales que pueda facilitarnos se incorporaran a un fichero automatizado titularidad de CAST INFO, S.A. con la finalidad de gestionar la relación negocial que nos vincula. Podrá revocar su consentimiento al tratamiento de los datos, así como ejercer sus derechos de acceso, rectificación, cancelación u oposición dirigiéndose por escrito a CAST INFO domiciliada en C/ Tuset 23, 1º -- 08006 Barcelona, o a la dirección de correo electrónico ejohnson@example.net.

Este mensaje y los ficheros anexos que pueda contener son confidenciales, pueden contener información sometida a secreto profesional y se dirige exclusivamente a su destinatario. Si ha recibido este mensaje por error o tiene conocimiento del mismo por cualquier motivo, le rogamos que nos lo comunique inmediatamente por este mismo medio y se abstenga de utilizarlo, reproducirlo, alterarlo, archivarlo o comunicarlo a terceros. El emisor no se responsabiliza de posibles perjuicios derivados de la captura, incorporaciones de virus o cualesquiera otras manipulaciones efectuadas por terceros.

Antes de imprimir este e-mail piense bien si es necesario hacerlo.


From log4php-user-returnejohnson@example.net Fri May 07 10:13:43 2010
Return-Path: <log4php-user-returnejohnson@example.net>
Delivered-To: ejohnson@example.net
Received: (qmail 5609 invoked from network); 7 May 2010 10:13:43 -0000
Received: from unknown (HELO mail.apache.org) (83.161.120.155)
  by 83.161.120.155 with SMTP; 7 May 2010 10:13:43 -0000
Received: (qmail 49306 invoked by uid 500); 7 May 2010 10:13:43 -0000
Delivered-To: ejohnson@example.net
Received: (qmail 49214 invoked by uid 500); 7 May 2010 10:13:42 -0000
Mailing-List: contact ejohnson@example.net; run by ezmlm
Precedence: bulk
list-help: <mailto:ejohnson@example.net>
list-unsubscribe: <mailto:ejohnson@example.net>
List-Post: <mailto:ejohnson@example.net>
Reply-To: "Log4PHP User" <ejohnson@example.net>
List-Id: <log4php-user.logging.apache.org>
Delivered-To: mailing list ejohnson@example.net
Received: (qmail 49206 invoked by uid 99); 7 May 2010 10:13:41 -0000
Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 May 2010 10:13:41 +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 ejohnson@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; Fri, 07 May 2010 10:13:35 +0000
Received: from isper.nabble.com ([83.161.120.155])
	by kuber.nabble.com with esmtp (Exim 4.63)
	(envelope-from <ejohnson@example.net>)
	id 1OAKYU-0003M4-J5
	for ejohnson@example.net; Fri, 07 May 2010 03:13:14 -0700
Message-ID: <ejohnson@example.net>
Date: Fri, 7 May 2010 03:13:14 -0700 (PDT)
From: PriyaPrakash <ejohnson@example.net>
To: ejohnson@example.net
Subject: Re: Add appender programmatically
In-Reply-To: <ejohnson@example.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Nabble-From: ejohnson@example.net
References: <ejohnson@example.net> <ejohnson@example.net> <ejohnson@example.net> <ejohnson@example.net> <ejohnson@example.net> <ejohnson@example.net> <ejohnson@example.net>
X-Virus-Checked: Checked by ClamAV on apache.org


Hi,

Thanks for ur quick reply , i use that code now it write the log level in
the log file, then  i need how to filter the level for store the log level
in different log file name (i.e)

For example ;

To store the INFO level in separate log file name(it contain only the INFO
level message)
To store the DEBUG level in separate log file name.(it contain only the
DEBUG level message)

How can implement it,please help me.
-- 
View this message in context: http://old.nabble.com/Add-appender-programmatically-tp28228274p28484316.html
Sent from the Log4php - Users mailing list ejohnson@example.net.


From log4php-user-returnejohnson@example.net Fri May 07 10:34:33 2010
Return-Path: <log4php-user-returnejohnson@example.net>
Delivered-To: ejohnson@example.net
Received: (qmail 7738 invoked from network); 7 May 2010 10:34:33 -0000
Received: from unknown (HELO mail.apache.org) (83.161.120.155)
  by 83.161.120.155 with SMTP; 7 May 2010 10:34:33 -0000
Received: (qmail 66452 invoked by uid 500); 7 May 2010 10:34:33 -0000
Delivered-To: ejohnson@example.net
Received: (qmail 66362 invoked by uid 500); 7 May 2010 10:34:31 -0000
Mailing-List: contact ejohnson@example.net; run by ezmlm
Precedence: bulk
list-help: <mailto:ejohnson@example.net>
list-unsubscribe: <mailto:ejohnson@example.net>
List-Post: <mailto:ejohnson@example.net>
Reply-To: "Log4PHP User" <ejohnson@example.net>
List-Id: <log4php-user.logging.apache.org>
Delivered-To: mailing list ejohnson@example.net
Received: (qmail 66354 invoked by uid 99); 7 May 2010 10:34:30 -0000
Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 May 2010 10:34:30 +0000
X-ASF-Spam-Status: No, hits=-0.0 required=10.0
	tests=SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (nike.apache.org: domain of ejohnson@example.net designates 83.161.120.155 as permitted sender)
Received: from [83.161.120.155] (HELO relay02bcn.cast-info.es) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 May 2010 10:34:22 +0000
Received: by relay02bcn.cast-info.es (Postfix, from userid 104)
	id 30C3933F395; Fri,  7 May 2010 12:34:02 +0200 (CEST)
Received: from localhost (relay02bcn.cast-info.es [83.161.120.155])
	by relay02bcn.cast-info.es (Postfix) with ESMTP id 13C0A33F3B8
	for <ejohnson@example.net>; Fri,  7 May 2010 12:34:02 +0200 (CEST)
Received: from relay02bcn.cast-info.es ([83.161.120.155])
 by localhost (relay01bcn.cast-info.es [83.161.120.155]) (amavisd-maia, port 10025)
 with ESMTP id 27052-07 for <ejohnson@example.net>;
 Fri,  7 May 2010 12:33:57 +0200 (CEST)
Received: from latitucast.localnet (unknown [83.161.120.155])
	by relay02bcn.cast-info.es (Postfix) with ESMTP id 164F033F395
	for <ejohnson@example.net>; Fri,  7 May 2010 12:33:57 +0200 (CEST)
From: Miquel Canes <ejohnson@example.net>
Organization: Cast-Info
To: "Log4PHP User" <ejohnson@example.net>
Subject: Re: Add appender programmatically
Date: Fri, 7 May 2010 12:34:22 +0200
User-Agent: KMail/1.13.2 (Linux/2.6.33-ARCH; KDE/4.4.2; i686; ; )
References: <ejohnson@example.net> <ejohnson@example.net> <ejohnson@example.net>
In-Reply-To: <ejohnson@example.net>
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <ejohnson@example.net>
X-Virus-Scanned: Maia Mailguard 1.0.2a
X-Virus-Checked: Checked by ClamAV on apache.org

On Friday 07 May 2010 12:13:14 PriyaPrakash wrote:
> Hi,
> 
> Thanks for ur quick reply , i use that code now it write the log level in
> the log file, then  i need how to filter the level for store the log level
> in different log file name (i.e)
> 
> For example ;
> 
> To store the INFO level in separate log file name(it contain only the INFO
> level message)
> To store the DEBUG level in separate log file name.(it contain only the
> DEBUG level message)
> 
> How can implement it,please help me.

Hi,
Remember that:
This rule is at the heart of log4php. It assumes that levels are ordered. For 
the standard levels, we have:

   DEBUG < INFO < WARN < ERROR < FATAL.

You can use the setThreshold function.
$appender->setThreshold("INFO");

But remember that in the DEBUG level appender, all INFO messages are included.


I hope it helps.


*Advertencia legal: en virtud de lo establecido en la Ley Orgánica 15/1999 de Protección de Datos de Carácter Personal, le informamos de que los datos personales que pueda facilitarnos se incorporaran a un fichero automatizado titularidad de CAST INFO, S.A. con la finalidad de gestionar la relación negocial que nos vincula. Podrá revocar su consentimiento al tratamiento de los datos, así como ejercer sus derechos de acceso, rectificación, cancelación u oposición dirigiéndose por escrito a CAST INFO domiciliada en C/ Tuset 23, 1º -- 08006 Barcelona, o a la dirección de correo electrónico ejohnson@example.net.

Este mensaje y los ficheros anexos que pueda contener son confidenciales, pueden contener información sometida a secreto profesional y se dirige exclusivamente a su destinatario. Si ha recibido este mensaje por error o tiene conocimiento del mismo por cualquier motivo, le rogamos que nos lo comunique inmediatamente por este mismo medio y se abstenga de utilizarlo, reproducirlo, alterarlo, archivarlo o comunicarlo a terceros. El emisor no se responsabiliza de posibles perjuicios derivados de la captura, incorporaciones de virus o cualesquiera otras manipulaciones efectuadas por terceros.

Antes de imprimir este e-mail piense bien si es necesario hacerlo.


From log4php-user-returnejohnson@example.net Sat May 08 07:55:02 2010
Return-Path: <log4php-user-returnejohnson@example.net>
Delivered-To: ejohnson@example.net
Received: (qmail 54088 invoked from network); 8 May 2010 07:55:02 -0000
Received: from unknown (HELO mail.apache.org) (83.161.120.155)
  by 83.161.120.155 with SMTP; 8 May 2010 07:55:02 -0000
Received: (qmail 39958 invoked by uid 500); 8 May 2010 07:55:02 -0000
Delivered-To: ejohnson@example.net
Received: (qmail 39850 invoked by uid 500); 8 May 2010 07:55:00 -0000
Mailing-List: contact ejohnson@example.net; run by ezmlm
Precedence: bulk
list-help: <mailto:ejohnson@example.net>
list-unsubscribe: <mailto:ejohnson@example.net>
List-Post: <mailto:ejohnson@example.net>
Reply-To: "Log4PHP User" <ejohnson@example.net>
List-Id: <log4php-user.logging.apache.org>
Delivered-To: mailing list ejohnson@example.net
Received: (qmail 39840 invoked by uid 99); 8 May 2010 07:54:59 -0000
Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 May 2010 07:54:59 +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 ejohnson@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; Sat, 08 May 2010 07:54:54 +0000
Received: from isper.nabble.com ([83.161.120.155])
	by kuber.nabble.com with esmtp (Exim 4.63)
	(envelope-from <ejohnson@example.net>)
	id 1OAerp-0001NY-BS
	for ejohnson@example.net; Sat, 08 May 2010 00:54:33 -0700
Message-ID: <ejohnson@example.net>
Date: Sat, 8 May 2010 00:54:33 -0700 (PDT)
From: PriyaPrakash <ejohnson@example.net>
To: ejohnson@example.net
Subject: Re: Add appender programmatically
In-Reply-To: <ejohnson@example.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Nabble-From: ejohnson@example.net
References: <ejohnson@example.net> <ejohnson@example.net> <ejohnson@example.net> <ejohnson@example.net> <ejohnson@example.net> <ejohnson@example.net> <ejohnson@example.net> <ejohnson@example.net> <ejohnson@example.net>


Hi,
:working888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4working:
Ya i know the standard level of log4php,but when we use the threshold it
store the level based on priority(ie)
if we set threshold like 

       $appender->setThreshold("WARN");

means it store the WARN levels and also to store their lower priority level
(INFO,DEBUG).

why we cannot use the filter function for filter the level in properties
file. The filter is  supported in xml config file,here it's supported or
not. 
-- 
View this message in context: http://old.nabble.com/Add-appender-programmatically-tp28228274p28494246.html
Sent from the Log4php - Users mailing list ejohnson@example.net.


From log4php-user-returnejohnson@example.net Sat May 08 07:55:31 2010
Return-Path: <log4php-user-returnejohnson@example.net>
Delivered-To: ejohnson@example.net
Received: (qmail 54127 invoked from network); 8 May 2010 07:55:31 -0000
Received: from unknown (HELO mail.apache.org) (83.161.120.155)
  by 83.161.120.155 with SMTP; 8 May 2010 07:55:31 -0000
Received: (qmail 40097 invoked by uid 500); 8 May 2010 07:55:31 -0000
Delivered-To: ejohnson@example.net
Received: (qmail 40005 invoked by uid 500); 8 May 2010 07:55:30 -0000
Mailing-List: contact ejohnson@example.net; run by ezmlm
Precedence: bulk
list-help: <mailto:ejohnson@example.net>
list-unsubscribe: <mailto:ejohnson@example.net>
List-Post: <mailto:ejohnson@example.net>
Reply-To: "Log4PHP User" <ejohnson@example.net>
List-Id: <log4php-user.logging.apache.org>
Delivered-To: mailing list ejohnson@example.net
Received: (qmail 39995 invoked by uid 99); 8 May 2010 07:55:30 -0000
Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 May 2010 07:55:30 +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 ejohnson@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; Sat, 08 May 2010 07:55:23 +0000
Received: from isper.nabble.com ([83.161.120.155])
	by kuber.nabble.com with esmtp (Exim 4.63)
	(envelope-from <ejohnson@example.net>)
	id 1OAesI-0001PJ-IS
	for ejohnson@example.net; Sat, 08 May 2010 00:55:02 -0700
Message-ID: <ejohnson@example.net>
Date: Sat, 8 May 2010 00:55:02 -0700 (PDT)
From: PriyaPrakash <ejohnson@example.net>
To: ejohnson@example.net
Subject: Re: Add appender programmatically
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Nabble-From: ejohnson@example.net
X-Virus-Checked: Checked by ClamAV on apache.org


Hi,
:working:
Ya i know the standard level of log4php,but when we use the threshold it
store the level based on priority(ie)
if we set threshold like 

       $appender->setThreshold("WARN");

means it store the WARN levels and also to store their lower priority level
(INFO,DEBUG).

why we cannot use the filter function for filter the level in properties
file. The filter is  supported in xml config file,here it's supported or
not. 
-- 
View this message in context: http://old.nabble.com/Add-appender-programmatically-tp28228274p28494246.html
Sent from the Log4php - Users mailing list ejohnson@example.net.


From log4php-user-returnejohnson@example.net Sat May 08 14:47:17 2010
Return-Path: <log4php-user-returnejohnson@example.net>
Delivered-To: ejohnson@example.net
Received: (qmail 16688 invoked from network); 8 May 2010 14:47:17 -0000
Received: from unknown (HELO mail.apache.org) (83.161.120.155)
  by 83.161.120.155 with SMTP; 8 May 2010 14:47:17 -0000
Received: (qmail 31961 invoked by uid 500); 8 May 2010 14:47:17 -0000
Delivered-To: ejohnson@example.net
Received: (qmail 31908 invoked by uid 500); 8 May 2010 14:47:16 -0000
Mailing-List: contact ejohnson@example.net; run by ezmlm
Precedence: bulk
list-help: <mailto:ejohnson@example.net>
list-unsubscribe: <mailto:ejohnson@example.net>
List-Post: <mailto:ejohnson@example.net>
Reply-To: "Log4PHP User" <ejohnson@example.net>
List-Id: <log4php-user.logging.apache.org>
Delivered-To: mailing list ejohnson@example.net
Received: (qmail 31900 invoked by uid 99); 8 May 2010 14:47:16 -0000
Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 May 2010 14:47:16 +0000
X-ASF-Spam-Status: No, hits=0.4 required=10.0
	tests=AWL,FREEMAIL_FROM,SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (athena.apache.org: domain of ejohnson@example.net designates 83.161.120.155 as permitted sender)
Received: from [83.161.120.155] (HELO mail-fx0-f47.google.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 May 2010 14:47:10 +0000
Received: by fxm11 with SMTP id 11so1233211fxm.34
        for <ejohnson@example.net>; Sat, 08 May 2010 07:46:49 -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
         :content-transfer-encoding;
        bh=f4C8+//Ua9gWiaE0PLKnTxU/AjvmOBYQardymqHav/g=;
        b=GmGax4+rzm3tBT5pm7TcMfh3VK58jSYWpdALp9JPLsKjJErH9NwIgmrvCWpN444cnl
         zPGBNC+zn8/FE4HOdb050UHfBbhidbKhwBTvdD6Tm70BiGF9Akko9U1y3NETBaci7SFp
         CJR7WpmImvcCEjFlH/NkLrkNYb9OUzw2rHBrc=
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:content-transfer-encoding;
        b=JSYfKsRnUstXSqiET8iiInxKNDIqcwgO5eD/zsUiaAt5TgidgRya67z38kNTuesucT
         kXDJyGXyVOJzMhbLzo0n1NPPAeIg/C/PuJNFb/0rhcRcKP1fqVJXAK7IJ8zfw/OPEXMd
         0K/MqX+GOsd64fUeZJy8PtYR9mPXnj/EllFo0=
MIME-Version: 1.0
Received: by 83.161.120.155 with SMTP id b26mr759690mui.118.1273330009467; Sat, 
	08 May 2010 07:46:49 -0700 (PDT)
Received: by 83.161.120.155 with HTTP; Sat, 8 May 2010 07:46:49 -0700 (PDT)
In-Reply-To: <ejohnson@example.net>
References: <ejohnson@example.net>
Date: Sat, 8 May 2010 16:46:49 +0200
Message-ID: <ejohnson@example.net>
Subject: Re: Add appender programmatically
From: miquel canes <ejohnson@example.net>
To: Log4PHP User <ejohnson@example.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,
Maybe you can use isAsSevereAsThreshold() function. I can't try it
now. But if you need, I can check it on monday.


On Sat, May 8, 2010 at 9:55 AM, PriyaPrakash <ejohnson@example.net> wrote:
>
> Hi,
> :working:
> Ya i know the standard level of log4php,but when we use the threshold it
> store the level based on priority(ie)
> if we set threshold like
>
> =A0 =A0 =A0 $appender->setThreshold("WARN");
>
> means it store the WARN levels and also to store their lower priority lev=
el
> (INFO,DEBUG).
>
> why we cannot use the filter function for filter the level in properties
> file. The filter is =A0supported in xml config file,here it's supported o=
r
> not.
> --
> View this message in context: http://old.nabble.com/Add-appender-programm=
atically-tp28228274p28494246.html
> Sent from the Log4php - Users mailing list ejohnson@example.net.
>
>

From log4php-user-returnejohnson@example.net Tue May 11 11:24:56 2010
Return-Path: <log4php-user-returnejohnson@example.net>
Delivered-To: ejohnson@example.net
Received: (qmail 86052 invoked from network); 11 May 2010 11:24:56 -0000
Received: from unknown (HELO mail.apache.org) (83.161.120.155)
  by 83.161.120.155 with SMTP; 11 May 2010 11:24:56 -0000
Received: (qmail 26127 invoked by uid 500); 11 May 2010 11:24:56 -0000
Delivered-To: ejohnson@example.net
Received: (qmail 26075 invoked by uid 500); 11 May 2010 11:24:55 -0000
Mailing-List: contact ejohnson@example.net; run by ezmlm
Precedence: bulk
list-help: <mailto:ejohnson@example.net>
list-unsubscribe: <mailto:ejohnson@example.net>
List-Post: <mailto:ejohnson@example.net>
Reply-To: "Log4PHP User" <ejohnson@example.net>
List-Id: <log4php-user.logging.apache.org>
Delivered-To: mailing list ejohnson@example.net
Received: (qmail 26067 invoked by uid 99); 11 May 2010 11:24:55 -0000
Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 May 2010 11:24:55 +0000
X-ASF-Spam-Status: No, hits=2.5 required=10.0
	tests=FREEMAIL_FROM,FREEMAIL_REPLY,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: apache.org
Received-SPF: pass (nike.apache.org: domain of ejohnson@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, 11 May 2010 11:24:49 +0000
Received: from isper.nabble.com ([83.161.120.155])
	by kuber.nabble.com with esmtp (Exim 4.63)
	(envelope-from <ejohnson@example.net>)
	id 1OBnZc-00056t-2s
	for ejohnson@example.net; Tue, 11 May 2010 04:24:28 -0700
Message-ID: <ejohnson@example.net>
Date: Tue, 11 May 2010 04:24:28 -0700 (PDT)
From: PriyaPrakash <ejohnson@example.net>
To: ejohnson@example.net
Subject: Re: Add appender programmatically
In-Reply-To: <ejohnson@example.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Nabble-From: ejohnson@example.net
References: <ejohnson@example.net> <ejohnson@example.net> <ejohnson@example.net> <ejohnson@example.net> <ejohnson@example.net> <ejohnson@example.net> <ejohnson@example.net> <ejohnson@example.net> <ejohnson@example.net> <ejohnson@example.net> <ejohnson@example.net>
X-Virus-Checked: Checked by ClamAV on apache.org


Hi,

   Now i am trying to append the LoggerAppenderMail(),when i execute the
code it process successfully without any error but the mail is not received
by the receiver,the code is,

                        $this->appenderMail = new LoggerAppenderMail();
			$this->layourMail = new LoggerLayoutTTCC();
			$this->appenderMail->activateOptions();
			$this->appenderMail->setFrom("ejohnson@example.net");
			$this->appenderMail->setTo("ejohnson@example.net");
			$this->appenderMail->setSubject("TEST");
			this->logger->addAppender($this->appenderMail);
                        $this->allappendersMail =
$this->logger->getAllAppenders();
			$this->logger->fatal("This is sample testing");

pls reply  me , Thanks in Advance
-- 
View this message in context: http://old.nabble.com/Add-appender-programmatically-tp28228274p28522882.html
Sent from the Log4php - Users mailing list ejohnson@example.net.


From log4php-user-returnejohnson@example.net Tue May 18 13:23:33 2010
Return-Path: <log4php-user-returnejohnson@example.net>
Delivered-To: ejohnson@example.net
Received: (qmail 53476 invoked from network); 18 May 2010 13:23:33 -0000
Received: from unknown (HELO mail.apache.org) (83.161.120.155)
  by 83.161.120.155 with SMTP; 18 May 2010 13:23:33 -0000
Received: (qmail 46089 invoked by uid 500); 18 May 2010 13:23:33 -0000
Delivered-To: ejohnson@example.net
Received: (qmail 46042 invoked by uid 500); 18 May 2010 13:23:32 -0000
Mailing-List: contact ejohnson@example.net; run by ezmlm
Precedence: bulk
list-help: <mailto:ejohnson@example.net>
list-unsubscribe: <mailto:ejohnson@example.net>
List-Post: <mailto:ejohnson@example.net>
Reply-To: "Log4PHP User" <ejohnson@example.net>
List-Id: <log4php-user.logging.apache.org>
Delivered-To: mailing list ejohnson@example.net
Received: (qmail 46034 invoked by uid 99); 18 May 2010 13:23:32 -0000
Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 May 2010 13:23:32 +0000
X-ASF-Spam-Status: No, hits=1.3 required=10.0
	tests=AWL,FREEMAIL_FROM,FREEMAIL_REPLY,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: apache.org
Received-SPF: pass (athena.apache.org: domain of ejohnson@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, 18 May 2010 13:23:27 +0000
Received: from isper.nabble.com ([83.161.120.155])
	by kuber.nabble.com with esmtp (Exim 4.63)
	(envelope-from <ejohnson@example.net>)
	id 1OEMlG-0006px-Ef
	for ejohnson@example.net; Tue, 18 May 2010 06:23:06 -0700
Message-ID: <ejohnson@example.net>
Date: Tue, 18 May 2010 06:23:06 -0700 (PDT)
From: PriyaPrakash <ejohnson@example.net>
To: ejohnson@example.net
Subject: dynamically config the appender mail
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Nabble-From: ejohnson@example.net


Hi,

   Now i am trying to append the LoggerAppenderMail(),when i execute the
code it process successfully without any error but the mail is not received
by the receiver,the code is,

                        $this->appenderMail = new LoggerAppenderMail();
                        $this->layourMail = new LoggerLayoutTTCC();
                        $this->appenderMail->activateOptions();
                        $this->appenderMail->setFrom("ejohnson@example.net");
                        $this->appenderMail->setTo("ejohnson@example.net");
                        $this->appenderMail->setSubject("TEST");
                        this->logger->addAppender($this->appenderMail);
                        $this->allappendersMail =
$this->logger->getAllAppenders();
                        $this->logger->fatal("This is sample testing");

pls reply  me , Thanks in Advance
-- 
View this message in context: http://old.nabble.com/dynamically-config-the-appender-mail-tp28595845p28595845.html
Sent from the Log4php - Users mailing list ejohnson@example.net.


From log4php-user-returnejohnson@example.net Tue May 18 15:01:48 2010
Return-Path: <log4php-user-returnejohnson@example.net>
Delivered-To: ejohnson@example.net
Received: (qmail 97908 invoked from network); 18 May 2010 15:01:48 -0000
Received: from unknown (HELO mail.apache.org) (83.161.120.155)
  by 83.161.120.155 with SMTP; 18 May 2010 15:01:48 -0000
Received: (qmail 15355 invoked by uid 500); 18 May 2010 15:01:48 -0000
Delivered-To: ejohnson@example.net
Received: (qmail 15308 invoked by uid 500); 18 May 2010 15:01:47 -0000
Mailing-List: contact ejohnson@example.net; run by ezmlm
Precedence: bulk
list-help: <mailto:ejohnson@example.net>
list-unsubscribe: <mailto:ejohnson@example.net>
List-Post: <mailto:ejohnson@example.net>
Reply-To: "Log4PHP User" <ejohnson@example.net>
List-Id: <log4php-user.logging.apache.org>
Delivered-To: mailing list ejohnson@example.net
Received: (qmail 15300 invoked by uid 99); 18 May 2010 15:01:47 -0000
Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 May 2010 15:01:47 +0000
X-ASF-Spam-Status: No, hits=1.6 required=10.0
	tests=AWL,FREEMAIL_FROM,FREEMAIL_REPLY,RCVD_IN_DNSWL_NONE,SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (athena.apache.org: domain of ejohnson@example.net designates 83.161.120.155 as permitted sender)
Received: from [83.161.120.155] (HELO mail-ew0-f222.google.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 May 2010 15:01:43 +0000
Received: by ewy22 with SMTP id 22so52005ewy.29
        for <ejohnson@example.net>; Tue, 18 May 2010 08:01:22 -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
         :content-transfer-encoding;
        bh=UWKrG2Z11Q7BPWMioniJ01UdNvtRhuiNcwmlGX9OujU=;
        b=rtyqfbNEi4AjdgTkrqCZyNsOSXK7WxB1LaFWire1gdSNP97IWKUC/Of0d6hIqEiK/S
         Oxu3owokohATFBeCpB5jptVhfKJElldmEJLLW2WLyVxXxB08H3sAI4NCvpjbdN3R/xyh
         JalSLgOBdslew46AyAGM2qRNIk5LO0QrvhXk0=
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:content-transfer-encoding;
        b=uPApTWDs4iOZhSL7m2BMqwEjHbaDWqWZfXiuOV/ZNrlKWmQIvPaLbUdlPYm6Vxx1NS
         tEuMZUMNsB8IevmxhLjcj36f4vyp7CdGZZXnP7EshzrqK0cURFYL1UqwAbNQHSsuLzys
         n0twhtAqCNf62ROy3uyhIh81b8vPLeBOqbEOI=
MIME-Version: 1.0
Received: by 83.161.120.155 with SMTP id e28mr4686131muf.78.1274194881659; Tue, 
	18 May 2010 08:01:21 -0700 (PDT)
Received: by 83.161.120.155 with HTTP; Tue, 18 May 2010 08:01:21 -0700 (PDT)
In-Reply-To: <ejohnson@example.net>
References: <ejohnson@example.net>
Date: Tue, 18 May 2010 17:01:21 +0200
Message-ID: <ejohnson@example.net>
Subject: Re: dynamically config the appender mail
From: Miquel Canes <ejohnson@example.net>
To: Log4PHP User <ejohnson@example.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,
This code is working well for me:

$logger =3D Logger888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4getRootLogger();
$layout =3D new LoggerLayoutPattern("");
$layout->setConversionPattern("[%p] %t %c - %m%n");
$appender =3D new LoggerAppenderMail();
$appender->setLayout($layout);
$appender->setFrom("ejohnson@example.net");
$appender->setTo("ejohnson@example.net");
$appender->setSubject("testing mail appender");
$logger->addAppender($appender);
$logger->fatal("This is sample test");

Check your mail logs, maybe it helps.
Are you using a local mail server? Check it too.
Use another from email, maybe gmail check it and mark it as spam.

Miquel

On Tue, May 18, 2010 at 3:23 PM, PriyaPrakash <ejohnson@example.net> wrote:
>
> Hi,
>
> =A0 Now i am trying to append the LoggerAppenderMail(),when i execute the
> code it process successfully without any error but the mail is not receiv=
ed
> by the receiver,the code is,
>
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0$this->appenderMail =3D ne=
w LoggerAppenderMail();
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0$this->layourMail =3D new =
LoggerLayoutTTCC();
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0$this->appenderMail->activ=
ateOptions();
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0$this->appenderMail->setFr=
om("ejohnson@example.net");
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0$this->appenderMail->setTo=
("ejohnson@example.net");
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0$this->appenderMail->setSu=
bject("TEST");
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0this->logger->addAppender(=
$this->appenderMail);
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0$this->allappendersMail =
=3D
> $this->logger->getAllAppenders();
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0$this->logger->fatal("This=
 is sample testing");
>
> pls reply =A0me , Thanks in Advance
> --
> View this message in context: http://old.nabble.com/dynamically-config-th=
e-appender-mail-tp28595845p28595845.html
> Sent from the Log4php - Users mailing list ejohnson@example.net.
>
>

From log4php-user-returnejohnson@example.net Wed May 19 07:45:17 2010
Return-Path: <log4php-user-returnejohnson@example.net>
Delivered-To: ejohnson@example.net
Received: (qmail 99155 invoked from network); 19 May 2010 07:45:17 -0000
Received: from unknown (HELO mail.apache.org) (83.161.120.155)
  by 83.161.120.155 with SMTP; 19 May 2010 07:45:17 -0000
Received: (qmail 52091 invoked by uid 500); 19 May 2010 07:45:17 -0000
Delivered-To: ejohnson@example.net
Received: (qmail 52002 invoked by uid 500); 19 May 2010 07:45:15 -0000
Mailing-List: contact ejohnson@example.net; run by ezmlm
Precedence: bulk
list-help: <mailto:ejohnson@example.net>
list-unsubscribe: <mailto:ejohnson@example.net>
List-Post: <mailto:ejohnson@example.net>
Reply-To: "Log4PHP User" <ejohnson@example.net>
List-Id: <log4php-user.logging.apache.org>
Delivered-To: mailing list ejohnson@example.net
Received: (qmail 51993 invoked by uid 99); 19 May 2010 07:45:14 -0000
Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 May 2010 07:45:14 +0000
X-ASF-Spam-Status: No, hits=0.4 required=10.0
	tests=AWL,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 ejohnson@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; Wed, 19 May 2010 07:45:08 +0000
Received: from isper.nabble.com ([83.161.120.155])
	by kuber.nabble.com with esmtp (Exim 4.63)
	(envelope-from <ejohnson@example.net>)
	id 1OEdxQ-0004Sx-6C
	for ejohnson@example.net; Wed, 19 May 2010 00:44:48 -0700
Message-ID: <ejohnson@example.net>
Date: Wed, 19 May 2010 00:44:48 -0700 (PDT)
From: PriyaPrakash <ejohnson@example.net>
To: ejohnson@example.net
Subject: Re: dynamically config the appender mail
In-Reply-To: <ejohnson@example.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Nabble-From: ejohnson@example.net
References: <ejohnson@example.net> <ejohnson@example.net>


Hi,

Thanks for ur reply, now its works fine for me,

Then i have another doubt in the LoggerAppenderMail, if it possible to send
a mail to more than one receiver using log4php. if i use the php mail
function its possible to send more than one receiver in PHP.

Pls help me,

-- 
View this message in context: http://old.nabble.com/dynamically-config-the-appender-mail-tp28595845p28605082.html
Sent from the Log4php - Users mailing list ejohnson@example.net.


From log4php-user-returnejohnson@example.net Wed May 19 07:48:10 2010
Return-Path: <log4php-user-returnejohnson@example.net>
Delivered-To: ejohnson@example.net
Received: (qmail 99528 invoked from network); 19 May 2010 07:48:10 -0000
Received: from unknown (HELO mail.apache.org) (83.161.120.155)
  by 83.161.120.155 with SMTP; 19 May 2010 07:48:10 -0000
Received: (qmail 54075 invoked by uid 500); 19 May 2010 07:48:10 -0000
Delivered-To: ejohnson@example.net
Received: (qmail 54020 invoked by uid 500); 19 May 2010 07:48:09 -0000
Mailing-List: contact ejohnson@example.net; run by ezmlm
Precedence: bulk
list-help: <mailto:ejohnson@example.net>
list-unsubscribe: <mailto:ejohnson@example.net>
List-Post: <mailto:ejohnson@example.net>
Reply-To: "Log4PHP User" <ejohnson@example.net>
List-Id: <log4php-user.logging.apache.org>
Delivered-To: mailing list ejohnson@example.net
Received: (qmail 54006 invoked by uid 99); 19 May 2010 07:48:08 -0000
Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 May 2010 07:48:08 +0000
X-ASF-Spam-Status: No, hits=0.7 required=10.0
	tests=AWL,FREEMAIL_FROM,FREEMAIL_REPLY,RCVD_IN_DNSWL_NONE,SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (athena.apache.org: domain of ejohnson@example.net designates 83.161.120.155 as permitted sender)
Received: from [83.161.120.155] (HELO mail-pz0-f186.google.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 May 2010 07:48:03 +0000
Received: by pzk16 with SMTP id 16so4150991pzk.22
        for <ejohnson@example.net>; Wed, 19 May 2010 00:47:43 -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=IdjZ1WUB06Bec0SEclGfMtoS3IJIDyTLOfi17YjshTQ=;
        b=luYsAeTdGp7gQVOJfHhOwUWGWc1Z50ie3PTA7e5S4MTVc5P5U4Xc27YJAhwm6mPloi
         YwfmgGGmQyHrwaomFDIuWa0mkVvlIyu+mhPgk4VRykA7lR/hpjlTVLfqSyF0KhqWOKQF
         UvzfhOD8FOX8BxZVRvbS0oZilrK0dCDNkzFuo=
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=oUzf2CxFgh/DN9ynAw/YIpS5TM2AwUd2Jh5kltHvb36QVNpS3ZggcqLA90mPrhYWrC
         XN1v+eB3qBATekzP/H+MYIba3sFZRQKVsDXVc3plhCglD9cYIKr+zhXHMhG74X6rs4Qd
         kuTGtCajNCqDQJN9JFiPG4iOe/4MiuUF41LNk=
Received: by 83.161.120.155 with SMTP id y8mr6077195rvh.231.1274255263241; Wed, 
	19 May 2010 00:47:43 -0700 (PDT)
MIME-Version: 1.0
Received: by 83.161.120.155 with HTTP; Wed, 19 May 2010 00:47:23 -0700 (PDT)
In-Reply-To: <ejohnson@example.net>
References: <ejohnson@example.net> <ejohnson@example.net> 
	<ejohnson@example.net>
From: Christian Grobmeier <ejohnson@example.net>
Date: Wed, 19 May 2010 09:47:23 +0200
Message-ID: <ejohnson@example.net>
Subject: Re: dynamically config the appender mail
To: Log4PHP User <ejohnson@example.net>
Content-Type: text/plain; charset=UTF-8

Hi
did you try to separate mail adresses with ;
f. e
 $this->appenderMail->setTo("ejohnson@example.net;ejohnson@example.net");

Best
Christian


On Wed, May 19, 2010 at 9:44 AM, PriyaPrakash <ejohnson@example.net> wrote:
>
> Hi,
>
> Thanks for ur reply, now its works fine for me,
>
> Then i have another doubt in the LoggerAppenderMail, if it possible to send
> a mail to more than one receiver using log4php. if i use the php mail
> function its possible to send more than one receiver in PHP.
>
> Pls help me,
>
> --
> View this message in context: http://old.nabble.com/dynamically-config-the-appender-mail-tp28595845p28605082.html
> Sent from the Log4php - Users mailing list ejohnson@example.net.
>
>


{'source': 'Apache Software Foundation Public Mail Archives'}