Skip to content

Commit 0920538

Browse files
author
Gabriel Einsdorf
committed
KNIPGateway: update comments on logging
1 parent f284f3d commit 0920538

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

org.knime.knip.core/src/org/knime/knip/core/KNIPGateway.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,9 @@ public class KNIPGateway {
136136
private final Context m_context;
137137

138138
private KNIPGateway() {
139-
// set log level
139+
// set log level to warn to ignore plug-in loading log events
140140
System.setProperty(LogService.LOG_LEVEL_PROPERTY, "warn");
141+
// blacklist StderrLogService to prevent logging to stdout / stderr
141142
System.setProperty("scijava.plugin.blacklist", ".*StderrLogService");
142143

143144
m_context = new Context(new PluginIndex(

0 commit comments

Comments
 (0)