Search code examples
quickfixj

QuickfixJ | Disable partial logging in quickfixj


How to disable logging only for outgoing and incoming messages (Except the admin messages and heart beat) in quickfixJ?

I tried passing false values to the ScreenLogfactory constructor, still could see the incoming and outgoing messages


Solution

  • Create your own log and factory by implementing quickfix.Log, add your specific logic to onIncoming and onOutgoing and pass your created log factory to your application instead of the ScreenLogFactory.