Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2014-08-06 06:15:34 -0400
committerUwe Stieber2014-08-06 06:15:34 -0400
commit0ed06ed8fe1a81433f19899f05f2de7e1b31f33f (patch)
tree62f762a339c026435d822c30fe9a285ebed9b71e
parentee239e2a814fbc0b1369118fcf724c8da1f299a4 (diff)
downloadorg.eclipse.tcf-0ed06ed8fe1a81433f19899f05f2de7e1b31f33f.tar.gz
org.eclipse.tcf-0ed06ed8fe1a81433f19899f05f2de7e1b31f33f.tar.xz
org.eclipse.tcf-0ed06ed8fe1a81433f19899f05f2de7e1b31f33f.zip
Target Explorer: Opening a channel to a peer that has "ValueAdd=1" set does not prevent logging the communication any longer
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.log.core/src/org/eclipse/tcf/te/tcf/log/core/internal/listener/ChannelTraceListenerManager.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.log.core/src/org/eclipse/tcf/te/tcf/log/core/internal/listener/ChannelTraceListenerManager.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.log.core/src/org/eclipse/tcf/te/tcf/log/core/internal/listener/ChannelTraceListenerManager.java
index 3198d616b..31646179a 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.log.core/src/org/eclipse/tcf/te/tcf/log/core/internal/listener/ChannelTraceListenerManager.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.log.core/src/org/eclipse/tcf/te/tcf/log/core/internal/listener/ChannelTraceListenerManager.java
@@ -87,11 +87,6 @@ public class ChannelTraceListenerManager {
// The trace listeners can be accessed only via AbstractChannel
if (!(channel instanceof AbstractChannel)) return;
- // If the channel is opened to a ValueAdd, do not write a log file.
- String value = channel.getRemotePeer().getAttributes().get("ValueAdd"); //$NON-NLS-1$
- boolean isValueAdd = value != null && ("1".equals(value.trim()) || Boolean.parseBoolean(value.trim())); //$NON-NLS-1$
- if (isValueAdd) return;
-
// Get the preference key if or if not logging is enabled
boolean loggingEnabled = CoreBundleActivator.getScopedPreferences().getBoolean(IPreferenceKeys.PREF_LOGGING_ENABLED);
// If false, we are done here and wont create any console or trace listener.
@@ -243,11 +238,6 @@ public class ChannelTraceListenerManager {
ITracing.ID_TRACE_CHANNEL_TRACE_LISTENER, this);
}
- // If the channel is opened to a ValueAdd, do not write a log file.
- String value = channel.getRemotePeer().getAttributes().get("ValueAdd"); //$NON-NLS-1$
- boolean isValueAdd = value != null && ("1".equals(value.trim()) || Boolean.parseBoolean(value.trim())); //$NON-NLS-1$
- if (isValueAdd) return;
-
// Get the preference key if or if not logging is enabled
boolean loggingEnabled = CoreBundleActivator.getScopedPreferences().getBoolean(IPreferenceKeys.PREF_LOGGING_ENABLED);
// If false, we are done here and wont create any console or trace listener.

Back to the top