quickfix-j / quickfixj

QuickFIX/J is a full featured messaging engine for the FIX protocol. - This is the official project repository.
http://www.quickfixj.org
Other
934 stars 607 forks source link

extra logging first draft #836

Open borkabu opened 1 week ago

borkabu commented 1 week ago

Fixes #824 Added new configuration setting FieldValidationLogging. When it is Y, then prints log messages instead of failing validation for unknown user defined fields, unknown fields and unknown enum values.

chrjohn commented 5 days ago

I'm still thinking about a better way to do the logging. As it is now there is no correlation to the actual message and it could be hard to see which message is actually affected. Maybe we could do this via the sessions's log? But still thinking about how this could be accomplished.

borkabu commented 5 days ago

Updated documentation

borkabu commented 5 days ago

I'm still thinking about a better way to do the logging. As it is now there is no correlation to the actual message and it could be hard to see which message is actually affected. Maybe we could do this via the sessions's log? But still thinking about how this could be accomplished.

If I understand correctly, DataDictionary is independent of Session. Validation of message can be done, without having existing Session. I see no obstacles of printing message related information. In my case, this logging is to warn about schema being out of sync, so message itself is not really important.