PathEngine home previous: Log Filesnext: API Reference
Contents, Tools, Query Logging, Decoding Query Logs

Decoding Query Logs

Query logs are stored in a compact binary format to avoid these files becoming unworkably large.

A prebuilt exe for decoding query logs is provided with the SDK binary archives, at: 'SDKRoot/build/Win32/Release/consoleExe/DecodeQueryLog.dll' (in the x86 binaries package) or 'SDKRoot/build/x64/Release/consoleExe/DecodeQueryLog.dll' (in the x64 binaries package).
Source code for this exe is included in the source archives, in the 'DecodeQueryLog' project, and this can then also be build for Linux platform targets.

Running the decoder

The decoder looks for a file 'queryLog.bin', in the current directory, and outputs a readable xml file 'queryLog.xml', also to the current directory.
If 'queryLog.xml' already exists then this file will be overwritten.

Example output

<queryLog>
    <methodEntry queryIndex="0" thisPointer="0x1007d6e4" timeStamp="2005 Tuesday 18 13:00:10 217" interface="iPathEngine" method="getInterfaceMajorVersion"/>
    <methodExit queryIndex="0" thisPointer="0x1007d6e4" timeStamp="2005 Tuesday 18 13:00:10 217" interface="iPathEngine" method="getInterfaceMajorVersion">
        <int32_t name="returnValue" value="2"/>
    </methodExit>
    <methodEntry queryIndex="1" thisPointer="0x1007d6e4" timeStamp="2005 Tuesday 18 13:00:10 217" interface="iPathEngine" method="getInterfaceMinorVersion"/>
    <methodExit queryIndex="1" thisPointer="0x1007d6e4" timeStamp="2005 Tuesday 18 13:00:10 217" interface="iPathEngine" method="getInterfaceMinorVersion">
        <int32_t name="returnValue" value="38"/>
    </methodExit>
    <methodEntry queryIndex="2" thisPointer="0x1007d6e4" timeStamp="2005 Tuesday 18 13:00:10 217" interface="iPathEngine" method="getReleaseNumber"/>
    <methodExit queryIndex="2" thisPointer="0x1007d6e4" timeStamp="2005 Tuesday 18 13:00:10 217" interface="iPathEngine" method="getReleaseNumber">
        <int32_t name="returnValue" value="4"/>
    </methodExit>
    <methodEntry queryIndex="3" thisPointer="0x1007d6e4" timeStamp="2005 Tuesday 18 13:00:10 217" interface="iPathEngine" method="getVersionAttributes"/>
    <methodExit queryIndex="3" thisPointer="0x1007d6e4" timeStamp="2005 Tuesday 18 13:00:10 217" interface="iPathEngine" method="getVersionAttributes">
        <attributes name="returnValue" _buildstring="2005-10-07 10:22" _release="4" _minor_release="64001" _interface_major_version="2" _interface_minor_version="38" _collision_preprocess_major_version="2" _collision_preprocess_minor_version="0" _pathfind_preprocess_major_version="3" _pathfind_preprocess_minor_version="0" _memory_tracking_enabled="true"/>
    </methodExit>
</queryLog>

Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEnginenext: API Reference