The XML tag <Log> enables you to output the progress or status text to a log window. This can be useful for tracing the progress of a report for example. All field codes (e.g., #{Item.Name}, #{Item.SID}, #{Version}) and text will work. Even path queries should work with <Log>. See the SystemWeaver Script Language Reference guide in the Help for available field codes, etc. 



Log window Options

There are two options for the log window.


Within the same configuration view (Grid,Graph,Chart or Report) window:

Pull the log panel into view by dragging upward.



In a separate window using Ctrl+Shift+L:



Example XML

<Grid>
    <Columns>
        <ItemNameColumn width="200"/>
    </Columns>
    <!--Function Specification-->
    <ForEach select="/IURQ">  
    <!--Log to return an item properties using Field Codes -->
    <Log>Function Specification: #{Name} #{Version} #{Handle} .... </Log>
        <!--Requirement Section-->
        <ForEach select="/5IRS">
            <!--Requirement-->
            <ForEach select="/ITSR">
            <!--Log to return an item attribute(s) or query using Path Queries -->
            <Log>Requirement ID: #{? @2RQID} Name Check: #{? if Name ='' then 'Requirement has empty name' else 'Valid name'} Has part:#{? /I2SR}.... </Log>
                <Row/>  
            </ForEach>
        </ForEach>  
    </ForEach>
</Grid>


Example Result

2018-10-17 15:49:35,513 [10768] INFO  Generator  - Building...
2018-10-17 15:49:35,523 [10768] INFO  TagWriter  - Function Specification: Adaptive cruise control (2) x0400000000000511 ....
2018-10-17 15:49:35,526 [10768] INFO  TagWriter  - Requirement ID: REQ-2 Name Check: Valid name Has part:{SafeGoal22}....
2018-10-17 15:49:35,528 [10768] INFO  TagWriter  - Requirement ID: REQ-3 Name Check: Valid name Has part:{}....
2018-10-17 15:49:35,529 [10768] INFO  TagWriter  - Requirement ID: REQ-8 Name Check: Valid name Has part:{}....
2018-10-17 15:49:35,531 [10768] INFO  TagWriter  - Requirement ID: REQ-37 Name Check: Valid name Has part:{}....
2018-10-17 15:49:35,532 [10768] INFO  TagWriter  - Function Specification: Audio control (2) x040000000000041B ....
2018-10-17 15:49:35,534 [10768] INFO  TagWriter  - Requirement ID: REQ-22 Name Check: Valid name Has part:{}....
2018-10-17 15:49:35,536 [10768] INFO  TagWriter  - Requirement ID: REQ-20 Name Check: Valid name Has part:{}....
2018-10-17 15:49:35,537 [10768] INFO  TagWriter  - Requirement ID: REQ-26 Name Check: Valid name Has part:{}....
2018-10-17 15:49:35,538 [10768] INFO  TagWriter  - Requirement ID: REQ-25 Name Check: Valid name Has part:{}....
2018-10-17 15:49:35,542 [10768] INFO  TagWriter  - Requirement ID: REQ-23 Name Check: Valid name Has part:{}....
2018-10-17 15:49:35,545 [10768] INFO  TagWriter  - Requirement ID: REQ-21 Name Check: Valid name Has part:{}....
2018-10-17 15:49:35,547 [10768] INFO  TagWriter  - Requirement ID: REQ-24 Name Check: Valid name Has part:{}....
2018-10-17 15:49:35,549 [10768] INFO  TagWriter  - Requirement ID: REQ-19 Name Check: Valid name Has part:{}....
2018-10-17 15:49:35,551 [10768] INFO  TagWriter  - Requirement ID: REQ-18 Name Check: Valid name Has part:{}....
2018-10-17 15:49:35,552 [10768] INFO  TagWriter  - Function Specification: Climate control (1) x040000000000051D ....
2018-10-17 15:49:35,554 [10768] INFO  TagWriter  - Requirement ID: REQ-6 Name Check: Valid name Has part:{}....
2018-10-17 15:49:35,555 [10768] INFO  TagWriter  - Requirement ID: REQ-5 Name Check: Valid name Has part:{}....
2018-10-17 15:49:35,557 [10768] INFO  TagWriter  - Function Specification: Constant cruise control (1) x040000000000051A ....
2018-10-17 15:49:35,559 [10768] INFO  TagWriter  - Requirement ID: REQ-7 Name Check: Valid name Has part:{}....
2018-10-17 15:49:35,561 [10768] INFO  TagWriter  - Function Specification: Low speed emergency braking (1) x0400000000000526 ....
2018-10-17 15:49:35,562 [10768] INFO  TagWriter  - Requirement ID: REQ-4 Name Check: Valid name Has part:{}....
2018-10-17 15:49:35,563 [10768] INFO  TagWriter  - Function Specification: Radio (1) x040000000000035F ....
2018-10-17 15:49:35,565 [10768] INFO  TagWriter  - Requirement ID: REQ-11 Name Check: Valid name Has part:{}....
2018-10-17 15:49:35,567 [10768] INFO  TagWriter  - Requirement ID: REQ-14 Name Check: Valid name Has part:{}....
2018-10-17 15:49:35,568 [10768] INFO  TagWriter  - Requirement ID: REQ-9 Name Check: Valid name Has part:{}....
2018-10-17 15:49:35,570 [10768] INFO  TagWriter  - Requirement ID: REQ-10 Name Check: Valid name Has part:{}....
2018-10-17 15:49:35,572 [10768] INFO  TagWriter  - Requirement ID: REQ-12 Name Check: Valid name Has part:{}....
2018-10-17 15:49:35,575 [10768] INFO  TagWriter  - Requirement ID: REQ-13 Name Check: Valid name Has part:{}....
2018-10-17 15:49:35,577 [10768] INFO  TagWriter  - Requirement ID: REQ-17 Name Check: Valid name Has part:{}....
2018-10-17 15:49:35,578 [10768] INFO  TagWriter  - Requirement ID: REQ-16 Name Check: Valid name Has part:{}....
2018-10-17 15:49:35,580 [10768] INFO  TagWriter  - Requirement ID: REQ-15 Name Check: Valid name Has part:{}....
2018-10-17 15:49:35,582 [10768] INFO  TagWriter  - Function Specification: Seat heating (1) x0400000000000520 ....
2018-10-17 15:49:35,583 [10768] INFO  TagWriter  - Function Specification: Washer wiper (1) x0400000000000523 ....
2018-10-17 15:49:35,586 [10768] INFO  Generator  - Done.