Child pages
  • QuickFIXJ Logging

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

I've had a few discussions with users about logging in QuickFIX/J. There are several issues related to logging than can be confusing. As you may know, QuickFIX/J is based on the QuickFIX C++ JNI API and one of the goals of QuickFIX/J is to be upwardly compatible with the JNI API. The C++ code uses Log and LogFactory abstractions to encapsulate the logging mechanism. This is a reasonable approach, but the design of the abstractions has a few weaknesses.

  • ®©!bug|thumbnail,align=center!Image Added
  • There is a Log instance per FIX session, and <em>only</em> session-specific logs
  • The Log abstraction does not support levels or priorities on the log messages.</li>
  • The default Log implementations are not as flexible as [Log4J|http://logging.apache.org/log4j/docs/]  or the [JDK 1.4 logger|http://java.sun.com/j2se/1.4.2/docs/guide/util/logging/]

...