Difference between revisions of "Debug level"

From WICE Wiki v2.89
Jump to navigation Jump to search
Line 16: Line 16:


As an illustration, if e.g. a [[Creating a Task#File fetcher|File Fetcher task]] is created when the debug level is set to 9 in [[WCU platform#File Fetcher Module|the File Fetcher Module]]. Then the WCU will produce logs for levels 1-9 regarding its handling of the File Fetcher task.
As an illustration, if e.g. a [[Creating a Task#File fetcher|File Fetcher task]] is created when the debug level is set to 9 in [[WCU platform#File Fetcher Module|the File Fetcher Module]]. Then the WCU will produce logs for levels 1-9 regarding its handling of the File Fetcher task.
The logs can be fetched by selecting a WCU in [[Tasks Tab]] or [[Vehicles]] and pressing the button "Get Log Files". They are named after the task that has been run and in which state of the running they have been created.

Revision as of 15:40, 2 February 2022

The debug level chooser which can be reached through Vehicles, choosing a vehicle and pressing the button "Modules" and choose any module.

Debug level - when configured in any of the modules - refers to the level of logging that the WCU will output when handling the task related to the module. The lower the level the less logging will occur.

There are ten log levels - 0-9 and the following is logged at each level:

  • 0:
  • 1:
  • 2:
  • 3:
  • 4:
  • 5:
  • 6:
  • 7:
  • 8:
  • 9:

As an illustration, if e.g. a File Fetcher task is created when the debug level is set to 9 in the File Fetcher Module. Then the WCU will produce logs for levels 1-9 regarding its handling of the File Fetcher task.

The logs can be fetched by selecting a WCU in Tasks Tab or Vehicles and pressing the button "Get Log Files". They are named after the task that has been run and in which state of the running they have been created.