Sample Log File

[This is preliminary documentation and subject to change.]

Here is some excerpts from a log file, with the verbosity set to 3 (highest verbosity):

1. INFO----**** New configuration ****
2. 
3. Section name : Test2
4. grfFlags     : 63
5. cAttributes  : 0
6. aAttributes  : NONE
7. pdwFlags     : 0
8. 
9. INFO----Successfully bound filter.
10. 
11. PASS----Init() returned a valid value for pdwFlags.
12. 
13. INFO----Successfully initialized filter.
14. 
15. INFO----Performing validation test. In this part of the test, the chunks structures
16.         returned by the filter are checked for correctness, and the return values
17.         of the filter calls are checked.
18. 
19. PASS----GetChunk() succeeded.
20. 
21. PASS----The current chunk has a legal value for the flags field.
 

The first line is an informational message, indicating that a new configuration has been loaded from the ifilttst.ini file. Line (3) indicates the section name in the ifilttst.ini file from which the current configuration has been read. Lines (4) through (7) list the parameters to IFilter::Init(). The lines starting with "INFO" are informational messages about the binding of the filter and start of the validation test. Lines starting with "PASS" are messages regarding specific tests which have passed.

WARNING-First call to GetText() returned FILTER_E_NO_MORE_TEXT.
 

The line above is a warning. Warnings call attention to filter behavior that is suspicious, although legal. The above warning indicates that GetChunk() has returned a text chunk with no text in it.

ERROR---The filter has emitted a chunk which it was not requested to emit. Check
    the initialization parameters in section Test1 of the initialization file.
 
INFO----Current chunk propid : 0x5
 

Here is an example of an error message. In this case, the filter has emitted a chunk with a propid of 0x5. Inspection of section [Test1] in ifilttst.ini would show that the filter was configured to not emit chunks with this propid. For instance, if neither IFILTER_INIT_ APPLY_INDEX_ATTRIBUTES nor IFILTER_INIT_APPLY_OTHER_ATTRIBUTES were specified in the Flags entry and cAttributes is 0, the filter should only emit chunks with a propid of 0x13, corresponding to PID_STG_CONTENTS.