logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <h...@visi.com>
Subject Re: Filtering duplicated log-messages
Date Thu, 19 Feb 2009 06:33:19 GMT
Sure, by setting additivity to false.  Post your config.  BTW, don't post it to
the log4j-dev list. post it to the log4j-user list.  The dev list isn't for
general user question, but for Log4j development issues.

Jake

On 2/18/2009 7:28 AM, Surovtsev, Dmytro wrote:
> Hi all,
> 
>  
> 
> Is it possible to filter messages going to logfile in 1.2 version? Problem:
> 
>  
> 
> 05:00:35,932 DEBUG [Debug]
> Thread[SynchronousMessageProcessor,5,main]Returning
> jdbc:postgresql://crl_pg_app:5432/crl
> 
> 05:00:35,957 DEBUG [Debug]
> Thread[SynchronousMessageProcessor,5,main]Returning
> jdbc:postgresql://crl_pg_app:5432/crl
> 
> 05:00:35,963 DEBUG [Debug]
> Thread[SynchronousMessageProcessor,5,main]Returning
> jdbc:postgresql://crl_pg_app:5432/crl
> 
>  
> 
> 05:00:36,002 DEBUG [Debug]
> Thread[SynchronousMessageProcessor,5,main]Returning
> jdbc:sybase:Tds:crl_os_ks1_p:4100
> 
> 05:00:36,004 DEBUG [Debug]
> Thread[SynchronousMessageProcessor,5,main]Returning
> jdbc:sybase:Tds:crl_os_ks1_p:4100
> 
>  
> 
> Is it possible to log only first such message and just count duplicates?
> 
>  
> 
> TIA.
> 
>  
> 
>  
> 
> Best wishes,
> 
> Dmitry Surovtsev
> 
>  
> 
>  
> 
> 
> ------------------------------------------------------------------------
> Please note: The information in this email and in any attachments is
> confidential and may be privileged. If you are not the intended
> recipient, please destroy this message, delete any copies held on your
> systems and notify the sender immediately. You should not retain, copy
> or use this email for any purpose, nor disclose all or any part of its
> content to any other person.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message