Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2011-06-10 14:49:17 -0400
committerslewis2011-06-10 14:49:17 -0400
commitdbcd7204366daad29b3144ddfa1e71ed5e2b2f51 (patch)
tree9c96c356b1f7dcf82dc56a2de5417e2d5ba537e7
parent6f7d1f57e0ccfbf5e7951f8d889ca245c4dc6f27 (diff)
downloadorg.eclipse.ecf-dbcd7204366daad29b3144ddfa1e71ed5e2b2f51.tar.gz
org.eclipse.ecf-dbcd7204366daad29b3144ddfa1e71ed5e2b2f51.tar.xz
org.eclipse.ecf-dbcd7204366daad29b3144ddfa1e71ed5e2b2f51.zip
Fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=349082
-rw-r--r--osgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/internal/osgi/services/remoteserviceadmin/LogUtility.java12
-rw-r--r--osgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/osgi/services/remoteserviceadmin/EndpointDescriptionLocator.java2
2 files changed, 13 insertions, 1 deletions
diff --git a/osgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/internal/osgi/services/remoteserviceadmin/LogUtility.java b/osgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/internal/osgi/services/remoteserviceadmin/LogUtility.java
index 5d3ab96ec..4d6e4f607 100644
--- a/osgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/internal/osgi/services/remoteserviceadmin/LogUtility.java
+++ b/osgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/internal/osgi/services/remoteserviceadmin/LogUtility.java
@@ -20,6 +20,18 @@ public class LogUtility {
logError(methodName, debugOption, clazz, message, null);
traceException(methodName, debugOption, clazz, message, null);
}
+
+ public static void logInfo(String methodName, String debugOption,
+ Class clazz, String message) {
+ trace(methodName, debugOption, clazz, "INFO:" + message); //$NON-NLS-1$
+ Activator.getDefault().log(
+ new Status(IStatus.INFO, Activator.PLUGIN_ID,
+ IStatus.INFO, clazz.getName() + ":" //$NON-NLS-1$
+ + ((methodName == null) ? "<unknown>" //$NON-NLS-1$
+ : methodName) + ":" //$NON-NLS-1$
+ + ((message == null) ? "<empty>" : message), //$NON-NLS-1$
+ null));
+ }
public static void logWarning(String methodName, String debugOption,
Class clazz, String message) {
diff --git a/osgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/osgi/services/remoteserviceadmin/EndpointDescriptionLocator.java b/osgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/osgi/services/remoteserviceadmin/EndpointDescriptionLocator.java
index 59443c13c..f852af366 100644
--- a/osgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/osgi/services/remoteserviceadmin/EndpointDescriptionLocator.java
+++ b/osgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/osgi/services/remoteserviceadmin/EndpointDescriptionLocator.java
@@ -871,7 +871,7 @@ public class EndpointDescriptionLocator {
}
private void logInfo(String methodName, String message) {
- LogUtility.logWarning(methodName,
+ LogUtility.logInfo(methodName,
DebugOptions.ENDPOINT_DESCRIPTION_LOCATOR, this.getClass(),
message);
}

Back to the top