Project

General

Profile

Actions

Support Request #6417

closed

Starting ADTF Shell without logging in headless mode

Added by hidden about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Customer:
AUDI
Department:
EF
Requester's Priority:
Normal
Support Level:
2nd Level
Resolution:
Workaround Available
Product Issue Numbers:
Affected Products:
Platform:
Windows 7 64bit
Topic:
ADTF::Common
FAQ Links:

Description

Supportanfrage

Beim Versuch, ADTF ohne GUI zu starten, lassen sich die Logs nicht unterdrücken (stdout bzw. stderr). Ist das grundsätzlich möglich?

sowohl mit als auch ohne console-logger und console-device service werden die stderr auf die console geloggt
wie muss der adtf_launcher.exe aufgerufen werden und wie muss das Manifest aussehen, um alle stdout und stderr Logs zu unterdrücken und idealerweise kein neues Konsolen-Fnster zu öffen?

adtf_launcher.exe adtf_devenv_ObsReSim_nogui.manifest -config=system.xml -active="Resim_OBS_OF_KF" -run -quit 1> NUL 2> NUL

-> neues Fenster mit logs geht auf
verwendetes manifest hängt an.

Lösung

du kannst in deinen verwendeten globals.xml das Log Level senken.

<property name="global_log_level" type="Int" value="1" />

0 geht zwar auch, aber exceptions kommen trotzdem vom system.


Files

Actions

Also available in: Atom PDF