Ivo K. Koga wrote:
Hi All,

Is there a way to remove the debug messages from felix? Messages like this:

DEBUG: WIRE: 1.0 -> org.osgi.service.packageadmin -> 0
DEBUG: WIRE: 1.0 -> org.osgi.service.startlevel -> 0
DEBUG: WIRE: 1.0 -> org.ungoverned.osgi.service.shell -> 1.0
DEBUG: WIRE: 1.0 -> org.osgi.framework -> 0

Currently, not without modifying the source. Felix uses an internal logger that currently just sends everything to standard out. The idea in the future is to modify Felix' internal logger to use an installed log service if one is available, which would give you more control over when these types of messages are displayed. Unfortunately, other issues have been higher priorities, but there is a JIRA issue for it.

If you don't mind editing the code, just go into the Logger._log() method and remove where it prints to stdout for debug messages.

-> richard

Reply via email to