mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 15:05:44 +01:00
don't log each class which is registered to the eventbus
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -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" />
|
||||
|
||||
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user