

Specialist
2011-02-24
10:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How can I make Trace act like @echo in DOS?
I'd like to have the Trace command in a load script not appear in the log, just the result of the Trace command. Similar to the way in DOS that the @ symbol in a @echo command displays just the results.
Any suggestions?
B
- Tags:
- trace
7,008 Views
2 Replies

Not applicable
2011-02-25
04:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This migth be as easy as:
- turn on logging
- append somethign odd (like three exclamation marks) before traced text
- reload
- filter only the lines with the three exclamation marks from the *.qvw.log file.
trace !!! filter;
trace !!! only;
trace !!! the ;
trace !!! lines;
trace !!! with ;
trace !!! three;
trace !!! exclamation;
trace !!! marks;
For example filter with DOS command line:
find "!!!" *.log | find /V "trace"
-Alex
1,928 Views

Not applicable
2011-04-15
02:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there a way to add comments or formatting to a log file, without listing and executing the TRACE command?
For instance, my habit is to put section headers in TRACE lines, like so:
TRACE ;
TRACE *****************************************;
TRACE *** Ratios ***;
TRACE *****************************************;
The problem (I realize this is all minor) is that TRACE lines are listed twice in the log, once as a executable line and again for the results. Like so:
4/10/2011 11:51:36 PM: 0534 TRACE
4/10/2011 11:51:36 PM: 0534
4/10/2011 11:51:36 PM: 0535 TRACE *****************************************
4/10/2011 11:51:36 PM: 0535 *****************************************
4/10/2011 11:51:36 PM: 0536 TRACE *** Ratios ***
4/10/2011 11:51:36 PM: 0536 *** Ratios ***
4/10/2011 11:51:36 PM: 0537 TRACE *****************************************
4/10/2011 11:51:36 PM: 0537 *****************************************
Is there a way I can have comments list just once in the log?
Thanks,
DJ
1,928 Views
