Previous Topic

Next Topic

Book Contents

Book Index

Debug Properties

This section describes the system properties to activate the generation of debug information about the operation of the UPnP driver:

System Property

Type

Default Value

Description

mbs.upnp.debug.enable

boolean

-

A flag, which if "true" triggers the generation of debug messages about the operation of the UPnP driver. There is no default value set to this system property which is equivalent to setting "false" to it.

mbs.upnp.debug.console

boolean

-

A flag, which if "true" and if the mbs.upnp.debug.enable property is also set to "true", prints debug information in the runtime console. There is no default value set to this system property which is equivalent to setting "false" to it.

mbs.upnp.debug.device.errors

boolean

false

If set to "true", the UPnP Driver logs error messages for the end devices' communication as debug information.

Debugging Setup

Debugging the operation of the UPnP Driver is an important capability to diagnose special situations regarding device management and export. To tune debugging information you can use the provided system and configuration properties.

Activating Driver Global Debugging

You can turn on debugging for all components of the a driver. Set the mbs.upnp.debug.enable system property to "true" to activate generation of debug log messages. In addition, to see the debug output in the runtime console, set the mbs.upnp.debug.console system property to "true".

Advanced Debugging

In a configuration compliant with the OSGi Configuration Admin the UPnP driver provides an option to start the debug of the Java components building the driver functionality. Most conveniently, use the Configuration page of the Web Admin Console to define the debugging parameters.