Hi Richard, Following what you said I just commented this line: case LOG_DEBUG: //System.out.println("DEBUG: " + s); break;
at the code in: trunk\framework\src\main\java\org\apache\felix\framework\Logger.java used the "mvn -f pom-new-plugin.xml clean install" And it worked! Thanks! Ivo K. Koga On 11/22/06, Richard S. Hall <[EMAIL PROTECTED]> wrote:
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
-- Msc. Candidate in Computer Networks at Universidade Salvador/BA/Brazil Measurement WG - RNP/Brazil