Page 1 of 1

Suggestion to enhance log output

Posted: Sun Feb 05, 2012 2:18 am
by dfhtextpipe
Here's a suggestion to help debug structured filters:

Echo the first line of each comment filter to the log output.

Then the user can quickly focus his attention to the part of the log file that needs it.

This could even be made an optional setting by providing a suitable tickbox in Filter options.

David

Re: Suggestion to enhance log output

Posted: Mon Feb 06, 2012 11:09 am
by DataMystic Support
Hi David - not easy, as these filters are removed when the filter are compiled.

Re: Suggestion to enhance log output

Posted: Thu Feb 09, 2012 1:20 am
by dfhtextpipe
When you move to use XML for the underlying data structure for filters, would it become any easier?

David

Re: Suggestion to enhance log output

Posted: Thu Feb 09, 2012 8:22 am
by DataMystic Support
The XML is purely for saving/loading to disk or other streams. Although it may be used internally as well, it doesn't effect the compiled structure of the filters, which is much more compact and the objects are highly specific - eg the sort filter can create one of 4 different filtering objects, and some 'visual' filters such as the mainframe copybook filter can create huge structures of filters to perform their dirty work.