don't log each class which is registered to the eventbus

This commit is contained in:
Sebastian Sdorra
2014-03-28 22:25:15 +01:00
parent 81f6c571d9
commit cca9a87a6f
3 changed files with 6 additions and 13 deletions

View File

@@ -42,9 +42,6 @@ import com.google.inject.spi.InjectionListener;
import com.google.inject.spi.TypeEncounter;
import com.google.inject.spi.TypeListener;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import sonia.scm.event.ScmEventBus;
/**
@@ -54,14 +51,6 @@ import sonia.scm.event.ScmEventBus;
public class ScmEventBusModule extends AbstractModule
{
/**
* the logger for ScmSubscriberModule
*/
private static final Logger logger =
LoggerFactory.getLogger(ScmEventBusModule.class);
//~--- methods --------------------------------------------------------------
/**
* Method description
*
@@ -82,8 +71,6 @@ public class ScmEventBusModule extends AbstractModule
{
Class<?> clazz = object.getClass();
logger.trace("register subscriber {}", clazz);
ScmEventBus.getInstance().register(object);
}
});

View File

@@ -59,6 +59,9 @@
<logger name="sonia.scm.util.ServiceUtil" level="WARN" />
<logger name="sonia.scm.plugin.ext.DefaultAnnotationScanner" level="INFO" />
<!-- event bus -->
<logger name="sonia.scm.event.LegmanScmEventBus" level="INFO" />
<!-- aether -->
<!--
<logger name="org.sonatype.aether" level="TRACE" />

View File

@@ -81,6 +81,9 @@
<logger name="sonia.scm.util.ServiceUtil" level="WARN" />
<!-- event bus -->
<logger name="sonia.scm.event.LegmanScmEventBus" level="INFO" />
<!-- aether -->
<!--
<logger name="org.sonatype.aether" level="TRACE" />