Search code examples
loggingencodingwildflyquickfixquickfixj

How to change quickfixj charset encoding for logs?


I use quickfixj with wildfly Java EE server. I'd like to have fix logs to be merged with application log. But there is the "^A" delimiter. Is there a way to set encoding to UTF for quickfixj engine? I'll appreciate any help.


Solution

  • It doesn't sound like UTF encoding. The "^A" character is SOH, the delimiter between FIX tag=value fields. If you'd like to see a different character you can modify the QFJ logging component to convert the SOH characters to something different (like a "|") before writing the data to the log.