To turn on the logging of debug messages for all components:
In ZENworks Control Center, click Configuration.
In the Management Zone Settings panel, click Device Management, then click Local Device Logging.
In the local file panel, select the Log message to a local file if severity is option, then select the severity as Debug and above.
Click Apply, then click OK.