commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From José Antonio Pérez Testa <japte...@indra.es>
Subject Re: How to switch logging for dhcp?
Date Wed, 26 Nov 2003 15:22:51 GMT
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:japtesta@indra.es]
>>>> 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: commons-user-unsubscribe@jakarta.apache.org
>>>>> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>>>>>
>>>>>
>>>>>
>>>> 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: commons-user-unsubscribe@jakarta.apache.org
>>>> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>>>
>>>
>>
>> -------------------------------------------------------------------------------------------------------------------

>>
>> 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: commons-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>
>
> Sergio Gonzalez
> sagonzal@sky.net.co
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>

-------------------------------------------------------------------------------------------------------------------
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: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message