Open borkabu opened 1 week 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.
Updated documentation
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.
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.