You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cayenne.apache.org by Bruno René Santos <br...@holos.pt> on 2012/03/29 13:06:05 UTC

Disable JdbcCommonLogger

Hello all,

I have already asked this but none answered it... so here it goes again.
How can I disable the new query logger on cayenne 3.1?

I have tried on the log4j.properties to insert the line

log4j.logger.org.apache.cayenne.log.CommonsJdbcEventLogger = INFO

but it does nothing...

Regards
Bruno

-- 
Bruno René Santos | brunorene@holos.pt | Gestor de Projectos | Analista |
Programador | Investigador

Holos - Soluções Avançadas em Tecnologias de Informação S.A.
Parque de Ciência e Tecnologia de Almada/Setúbal . Edifício Madan Parque
Rua dos Inventores . Quinta da Torre . 2825 - 182 Caparica . Portugal
Phone: +351 210 438 686 . Fax: +351 210 438 687 . Web: www.holos.pt

This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you are not the intended recipient or the person responsible for
delivering the email to the intended recipient, be advised that you have
received this email in error and that any use, dissemination, forwarding,
printing, or copying of this email is strictly prohibited. If you have
received this email in error please notify Bruno René Santos by telephone
on +351 210 438 686

Re: Disable JdbcCommonLogger

Posted by Andrus Adamchik <an...@objectstyle.org>.
Try this:

log4j.logger.org.apache.cayenne.log.CommonsJdbcEventLogger = WARN


On Mar 29, 2012, at 2:06 PM, Bruno René Santos wrote:

> Hello all,
> 
> I have already asked this but none answered it... so here it goes again.
> How can I disable the new query logger on cayenne 3.1?
> 
> I have tried on the log4j.properties to insert the line
> 
> log4j.logger.org.apache.cayenne.log.CommonsJdbcEventLogger = INFO
> 
> but it does nothing...
> 
> Regards
> Bruno
> 
> -- 
> Bruno René Santos | brunorene@holos.pt | Gestor de Projectos | Analista |
> Programador | Investigador
> 
> Holos - Soluções Avançadas em Tecnologias de Informação S.A.
> Parque de Ciência e Tecnologia de Almada/Setúbal . Edifício Madan Parque
> Rua dos Inventores . Quinta da Torre . 2825 - 182 Caparica . Portugal
> Phone: +351 210 438 686 . Fax: +351 210 438 687 . Web: www.holos.pt
> 
> This email and any files transmitted with it are confidential and intended
> solely for the use of the individual or entity to whom they are addressed.
> If you are not the intended recipient or the person responsible for
> delivering the email to the intended recipient, be advised that you have
> received this email in error and that any use, dissemination, forwarding,
> printing, or copying of this email is strictly prohibited. If you have
> received this email in error please notify Bruno René Santos by telephone
> on +351 210 438 686