From: Chris v. O <chr...@gn...> - 2006-06-12 00:02:07
|
Steve, Sorry to be so stupid, but I cant figure out how to do this. Could someone provide a small example? Thanks, Chris Steve Bate wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hi Chris, > > The MINA message is logged using the QuickFIX session-oriented logging > mechanism. What this means is that all session events are logged > to the same log category since the QF API provides no way to specify a > category when logging the event. Unfortunately, this makes filtering a > little more difficult. > > It appears you are using the default JDK 1.4 logging as the underyling > logging framework. You can write a java.util.logging.Filter and > attach it to whatever logging handler you are using. > > http://java.sun.com/j2se/1.4.2/docs/api/java/util/logging/Filter.html > > You can also use this technique to filter FIX messages before they > saved to log (somebody else asked about that capability recently). > > Regards, > > Steve |