Printer FriendlyEmail Article Link

Spirent TestCenter- HLTAPI : How to redirect the location of HLTAPI logs and db file

Environment/Versions
  • Spirent TestCenter
  • Automation
  • HLTAPI
Answer
We can redirect the location of HLTAPI logs and db file with the below API 

sth::test_config\
        -log                                              1\
        -logfile                                          file_logfile\
        -vendorlogfile                                file_stcExport\
        -vendorlog                                    1\
        -hltlog                                          1\
        -hltlogfile                                      file_hltExport\
        -hlt2stcmappingfile                        file_hlt2StcMapping\
        -hlt2stcmapping                            1\
        -log_level                                     7\
        -custom_path                               "x:/xy/xyz"

This is supported from HLTAPI 4.59 GA release

Product : Automation,Spirent TestCenter