Project

General

Profile

Actions

Support Request #12464

closed

Option to call ADTF Launcher and dump log output in file

Added by hidden over 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Customer:
BOSCH
Department:
CC-DA/ETV
Requester's Priority:
Normal
Support Level:
2nd Level
Resolution:
Solved Issue
Product Issue Numbers:
Affected Products:
Platform:
Windows 10 64bit
Topic:
ADTF::Logging
FAQ Links:

Description

Supportanfrage

We are in process of collecting logs generated by filters & services. This is required as part of automation whenever failure occurs during measurement especially in test-drive.

We would like to dump all ADTF console logs to a file (inspite of providing file-name in global settings) either via command line arguments while launching ADTF or by communicating with ADTF logger service.

Question is: Do we have an option to communicate with ADTF logger service with external windows executable?

Or is there an option to provide in command line arguments to dump console logs to a file?

Lösung

You can start the adtf_launcher with argument -logfile="/path/to/logfile.txt".

This will automati cset -stdout and pipes all output to the given file.
stderr will be logged within /path/to/logfile_stderr.txt besides your /path/to/logfile.txt.
To pipe the whole output in one file use:

adtf_launcher -stdout > /path/to/logfile.txt 2>&1

See

adtf_launcher -help
Actions

Also available in: Atom PDF