October 22, 2026 - New Log level parameter for the Smart Function block

Context


Change Type: Improvement
Product area: Analytics
Component: Streaming Analytics
Deployed at: eu.latest.cumulocity.com, apj.cumulocity.com, jp.cumulocity.com, cumulocity.com, us.cumulocity.com

Technical details

Build artifact: apama-in-c8y (27.228.0)
Internal ID: PAB-5353

Description


To keep the log of the Apama-ctrl microservice readable, you can now control how much console output the Smart Function block writes to the log. The block, which is in Public Preview, has a new Log level parameter with the values OFF, ERROR, WARN, INFO, and DEBUG.

Important
The default is WARN. In existing models, the console.log, console.info, and console.debug output of the block is therefore no longer written to the log. To see the console.log and console.info output again, set the Log level parameter to INFO. Uncaught errors are always written.

Info
The Log level parameter cannot make the block write more detailed output than the log level of the correlator allows. In Cumulocity, the microservice log level is INFO, so console.debug output is not written, even when the parameter is set to DEBUG. DEBUG is intended for testing models locally with the Analytics Builder Block SDK, where you can set the correlator log level yourself.

For details, see Viewing logs in the Streaming Analytics application.