Skip to content

Industrial IoT SDK for Node.js Logging


Logging of the Industrial IoT SDK for Node.js is implemented using the debug module. It provides flexibility to only output debug messages from specific parts of a module or the entire module.


The debug module uses the environment variable DEBUG to enable or disable logging.

Enable Logging

set DEBUG=*
set DEBUG=mindsphere-sdk*
set DEBUG=mindsphere-sdk:{client_name}


Replace {client_name} by the service client name, for example:
set DEBUG=mindsphere-sdk:TimeSeriesClient

Disable Logging

set DEBUG=

Last update: April 13, 2023

Except where otherwise noted, content on this site is licensed under the Development License Agreement.