summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Campo2008-02-14 11:22:55 (EST)
committerChristian Campo2008-02-14 11:22:55 (EST)
commit2a9f17474b8443347270b127abaa8651db7971e9 (patch)
tree5cfbb22bac9f57959dc97974ac42492b84cf957f
parent69e335a01e8d0da6da159f1fce5cc8a62cf50c81 (diff)
downloadorg.eclipse.riena-2a9f17474b8443347270b127abaa8651db7971e9.zip
org.eclipse.riena-2a9f17474b8443347270b127abaa8651db7971e9.tar.gz
org.eclipse.riena-2a9f17474b8443347270b127abaa8651db7971e9.tar.bz2
listen to first service in list
-rw-r--r--org.eclipse.riena.core/src/org/eclipse/riena/core/logging/LogUtil.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/org.eclipse.riena.core/src/org/eclipse/riena/core/logging/LogUtil.java b/org.eclipse.riena.core/src/org/eclipse/riena/core/logging/LogUtil.java
index 75789fd..bfe60d2 100644
--- a/org.eclipse.riena.core/src/org/eclipse/riena/core/logging/LogUtil.java
+++ b/org.eclipse.riena.core/src/org/eclipse/riena/core/logging/LogUtil.java
@@ -15,6 +15,8 @@ import org.eclipse.equinox.log.ExtendedLogService;
import org.eclipse.equinox.log.Logger;
import org.eclipse.riena.core.service.ServiceId;
import org.osgi.framework.BundleContext;
+import org.osgi.service.log.LogReaderService;
+import org.osgi.service.log.LogService;
/**
* Wrapper to access the existing Logger.
@@ -86,7 +88,11 @@ public class LogUtil {
* initialize LogUtil
*/
public void init() {
- new ServiceId(ExtendedLogService.class.getName()).useRanking().injectInto(this).start(context);
- new ServiceId(ExtendedLogReaderService.class.getName()).useRanking().injectInto(this).start(context);
+ // new
+ // ServiceId(ExtendedLogService.class.getName()).useRanking().injectInto(this).start(context);
+ // new
+ // ServiceId(ExtendedLogReaderService.class.getName()).useRanking().injectInto(this).start(context);
+ new ServiceId(LogService.class.getName()).useRanking().injectInto(this).start(context);
+ new ServiceId(LogReaderService.class.getName()).useRanking().injectInto(this).start(context);
}
}