Debug that writes out only the lines that have problems

Tags:

#1 bigfoot

I have looked at debugging options but they all seem to write out any message that arrives but is there an option to write the raw message to debug log only if there is a problem with parsing of this message?

#2 adm Nxlog ✓
#1 bigfoot
I have looked at debugging options but they all seem to write out any message that arrives but is there an option to write the raw message to debug log only if there is a problem with parsing of this message?

Enhancing the error handling is on the roadmap but currently it is not possible what you want unfortunately.