Mocking the logger of the AI Inference Server

AI SDK Operation Manual

Portfolio
Industrial AI
Product
AI Software Development Kit
Software version
v2.4
Edition
04/2025
Language
English

The Python environment on the AI Inference Server injects a Python module named log_module that the Python scripts can use for logging on to the server. To be able to run the same code in a local development environment on a PC, the AI SDK provides a mock of log_module in a wheel file, which you can install, import, and use in the same way. This wheel file must not be included in the pipeline package dependencies.