logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Surovtsev, Dmytro" <Dmytro.Surovt...@snt.ua>
Subject Filtering duplicated log-messages
Date Wed, 18 Feb 2009 13:28:11 GMT
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.

Mime
View raw message