Menu

Can I get an explanation on how feature #293 works ?

Mojo
2014-06-19
2014-06-19
  • Mojo

    Mojo - 2014-06-19

    I saw that there is a new feature of tracing files #293 (released on 3.4.16).
    Can I get some explanation what it does and how to use it ?

    thanks,
    Eitan

     
  • Sharon Lucas

    Sharon Lucas - 2014-06-19

    Feature #293 (https://sourceforge.net/p/staf/feature-requests/293/) added the ability to configure STAF to set the destination for trace information to both a file as well as to stdout or stderr so that you could see trace output in the STAFProc output as tracing occurs and also store the trace output in a file to review later.

    You can set the trace output destination to a file and stdout or stderr via a TRACE SET DESTINATION statement in the STAF.cfg file. This is talked about in section "4.11 Tracing" in the STAF User's Guide at http://staf.sourceforge.net/current/STAFUG.htm#HDRTRACECFG. For example:

    TRACE SET DESTINATION TO STDOUT FILE /tmp/STAFTrace.out
    

    And/or you can set the trace output destination via the TRACE service's SET DESTINATION request. This is talked about in section "8.19 Trace Service", sub-section "8.19.7 Set", in the STAF User's Guide at http://staf.sourceforge.net/current/STAFUG.htm#HDRTRACESRV. For example:

    STAF local TRACE SET DESTINATION TO STDOUT FILE /tmp/STAFTrace.out
    
     

Log in to post a comment.