[QFJ-136] Add capability to filter out Heartbeats to to SLF4JLog and others Created: 10/Feb/07  Updated: 12/Apr/07  Resolved: 11/Feb/07

Status: Closed
Project: QuickFIX/J
Component/s: Engine
Affects Version/s: 1.0.5
Fix Version/s: 1.1.0

Type: Improvement Priority: Default
Reporter: Toli Kuznets Assignee: Steve Bate
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to QFJ-132 Make JdbcLog configurable to skip hea... Closed

 Description   

ScreenLog is currently the only logger to allow for filtering out of heartbeats.
Idea situation would be to have one unified way to filter out heartbeats for all the loggers.

In slf4j logger, it's trivial to implement by just adding another special logger category that can be filtered out in log4j.properties.

However, since the strings created are pretty large, it may actually be a lot more efficient to intercept it at a higher level and just not print altogether, hopefully saving some string concats along the way.



 Comments   
Comment by Steve Bate [ 11/Feb/07 ]

Are you thinking about a common abstract base class for the QFJ loggers that would provide a configuration option for doing the filtering? If so, that sounds like a reasonable approach.

Comment by Steve Bate [ 11/Feb/07 ]

I added a common base class that includes filtering capabilities.

Generated at Thu Oct 31 23:51:00 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.