Vale Sergio,
But the question was how to enable dbcp's own logging not how to write logs from my classes.
I mean dbcp does not write log.
My classes use commons logging


Sergio Gonzalez wrote:

Jose,

Maybe you can import java.util.logging.* into your class. It works quite well for me.


Regards.



Sorry Zsolt, it seems to me that dbcp does not write any log to commons logging, nor to any other place other than System.err.

Zsolt Koppany wrote:

Hi Jose,

this is what I have done, but I dont see any debug messages.

Zsolt



-----Original Message-----
From: Jose Antonio Perez Testa [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003 1:48 PM
To: Jakarta Commons Users List
Subject: Re: How to switch logging for dhcp?


Zsolt Koppany wrote:




Hi,

I use dhcp from tomcat. How can I enable logging for dhcp using log4j?

Zsolt



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



did you mean 'dbcp' ?
dbcp uses commons-logging, and if you put log4j.jar in the classpath the configuration is already done!


------------------------------------------------------------------
-------------------------------------------------
Este correo electrsnico y, en su caso, cualquier fichero anexo al mismo, contiene informacisn de caracter confidencial exclusivamente dirigida a su destinatario o destinatarios. Queda prohibida su divulgacisn, copia o distribucisn a terceros sin la previa autorizacisn escrita de Indra. En el caso de haber recibido este correo electrsnico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvmo a la direccisn electrsnica del remitente.


The information in this e-mail and in any attachments is confidential and solely for the attention and use of the named addressee(s). You are hereby notified that any dissemination, distribution or copy of this communication is prohibited without the prior written consent of Indra. If you have received this communication in error, please, notify the sender by reply e-mail

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-------------------------------------------------------------------------------------------------------------------


Este correo electr�nico y, en su caso, cualquier fichero anexo al mismo, contiene informaci�n de car�cter confidencial exclusivamente dirigida a su destinatario o destinatarios. Queda prohibida su divulgaci�n, copia o distribuci�n a terceros sin la previa autorizaci�n escrita de Indra. En el caso de haber recibido este correo electr�nico por error, se ruega notificar inmediatamente esta circunstancia mediante reenv�o a la direcci�n electr�nica del remitente.

The information in this e-mail and in any attachments is confidential and solely for the attention and use of the named addressee(s). You are hereby notified that any dissemination, distribution or copy of this communication is prohibited without the prior written consent of Indra. If you have received this communication in error, please, notify the sender by reply e-mail

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Sergio Gonzalez [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


------------------------------------------------------------------------------------------------------------------- Este correo electr�nico y, en su caso, cualquier fichero anexo al mismo, contiene informaci�n de car�cter confidencial exclusivamente dirigida a su destinatario o destinatarios. Queda prohibida su divulgaci�n, copia o distribuci�n a terceros sin la previa autorizaci�n escrita de Indra. En el caso de haber recibido este correo electr�nico por error, se ruega notificar inmediatamente esta circunstancia mediante reenv�o a la direcci�n electr�nica del remitente.

The information in this e-mail and in any attachments is confidential and solely for the attention and use of the named addressee(s). You are hereby notified that any dissemination, distribution or copy of this communication is prohibited without the prior written consent of Indra. If you have received this communication in error, please, notify the sender by reply e-mail

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to