Log messages

AI Inference Server Function Manual

Portfolio
Industrial AI
Product
AI Inference Server
Software version
2.1.0
Language
en-US

Log messages in runtime mode

AI Inference Server offers a function that enables monitoring of the log messages to easily analyze and resolve the problems.

Click "Log messages" in the menu navigation bar. The app then displays logs based on the filter settings.

Example:

If you are interested in the Runtime errors, select only the Python-Runtime Interpreter and the error log level.

①

Log messages

②

Download logs

③

Delete logs

④

Filter options: filtering according to the name and version of the pipeline, application name(s) and log level(s)

⑤

Manual update

⑥

Automatic update: If it is activated, the AI Inference Server refreshes the page every 5 seconds

⑦

Popup window for settings of the number of displayed log messages on the screen

⑧

Opens the log message in a pop-up dialog

⑨

Copying the log message

The last 500 log messages are shown on the Log messages page, 10 or more log messages on each page. By default, information, warnings, errors and critical log levels are created and displayed. The timestamps are displayed in local time.

After displaying the drop-down list, you can filter the messages by application or a subcomponent of the application:

  • API: Responsible for saving information in the context of the pipeline and bridge between the user interface

  • Model Distributor: responsible for Edge Package-related processes

  • Orchestrator: Responsible for orchestrating and setting up certain data connections

  • Python Runtime Interpreter: Responsible for running Python-based AI models

  • Python Runtime Manager: Responsible for managing the life cycle of Python Runtimes

The product MLFB 6AV2170-0LA11-0AA0 (AI Inference Server GPUaccelerated) includes additional filtering options:

  • GPU Runtime Interpreter: Responsible for running Python-based AI models on GPU-accelerated hardware

  • GPU Runtime Manager: Responsible for managing the lifecycle of Python runtimes on GPU-accelerated hardware

You can also remove or add the following message levels from the filter:

Debug

Info

Warning

Error

Critical

Downloading log messages

Click on "Download logs" ②. The pop-up window is displayed.

Select the day in the calendar for which you want download logs.

Click the button ②. A ZIP file is downloaded that contains the following:

  • a "runtime_interpreter" folder with separate log files for every step and a file for inferences

  • API log file

  • Model distributor log file

  • Orchestrator log file

  • Runtime Manager log file

The product MLFB 6AV2170-0LA11-0AA0 (AI Inference Server GPU accelerated) contains additional log files:

  • GPU Runtime Interpreter log files

  • GPU Runtime Manager log files

The downloaded files contain log messages for the selected day. The time stamps of the downloaded logs are shown in the UTC time.

Debug mode

Detailed low-level messages are also collected in debug mode. This generally helps to find the cause of a problem. Debug mode is disabled by default. If debug mode has been activated, AI Inference Server uses considerably more storage space and work memory. This option should therefore only be activated for a few minutes. Otherwise, the log messages may fill the storage of the Edge device.

The log files of the product can contain the following:

  • Extracts of the input data from the shopfloor

  • Extracts from the calculated (output) data, which is generated from the pipeline when the debugging mode is switched on

①

Debugging On/Off indicator

②

GDPR information

③

On/off toggle for the Core debug mode

④

On/off toggle for the Python debug mode

⑤

On/off toggle for the GPU debug mode (only for the GPU accelerated variant of the app)

The GDPR warning ② is always present to remind you that your sensitive data may be registered in the hardware of the IED device when debug messages are transmitted.

The toggle switch ③ can be used to activate the Core debug mode, the toggle switch ④ to activate the Python debug mode. The GPU accelerated variant of the app has the option to activate GPU debug mode using the toggle switch ⑤.

The debug level of the AI Inference Server Python can only be enabled for a running pipeline and must be set again, if needed, when the pipeline is restarted.

Delete log messages

Use deletion of logs to immediately delete log entries from the file system of the IED device. First, enter a number between 0-30 days. The value indicates the number of days of preservation on the physical hardware of the device. The value "0" means that all log entries are to be deleted.

①

The information message shows you how to use the function for deleting logs

②

Input field for setting for how many days the log messages are to be preserved before they are deleted

③

Delete logs button

If the input field ② receives an invalid value, such as a letter or negative number, or a value greater than 30, an error message is displayed and the button ③ is also disabled.

After you have clicked the ③ button, a warning box is displayed for confirming deletion of the log.

If the log was successfully deleted, a notification is displayed indicating that the log messages have been deleted.