Previous Topic

Next Topic

Book Contents

Book Index

Debug properties

You can start the framework with preliminary defined levels of received debug information as well as with specific type of debug turned on.

System property

Default value

Description

mbs.debug

Switches on the debug levels of the framework. A level is associated with a module of the framework (see Framework architecture). The possible values are as follows:

0

No debug

1

Debug of Framework core

2

Debug of Package manager

3

Debug of Service manager

4

Debug of Event manager

5

Debug of Bundle manager

6

Debug of class loading in the used Class provider

7

Debug of Storage

8

Debug of loading the startup bundles list file

9

Debug of available URL handlers

10

Basic debug of security

11

Intermediate debug of security

12

Full debug of security

14

Debug of start levels management

15

Debug of Framework access service

16

Debug of Fault manager

17

Debug of Certificate manager

18

Debug on the execution of framework console commands

19

Debug of Transaction manager

20

Debug of the OSGi IO Connector service

21

Debug of the Comm module

22

Debug of Restart manager

You may specify more than one debug level as value to this property. In this case, use the following syntax:

mbs.debug=m[;n]

where m and n are debug levels.

mbs.log.errorlevel

false

If this property is true, the framework will log and print all debug and error information regardless of the other debug settings. Setting this property to true is useful during development for easier tracking of problematic situations.

mbs.security.debug

false

If this property is true, the framework will print detailed debug information about the security operations it is performing.