Skip to content

Commit 311f538

Browse files
committed
Reduce logging
1 parent 23bf999 commit 311f538

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

SequenceAnalysis/api-src/org/labkey/api/sequenceanalysis/run/AbstractCommandWrapper.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,11 @@ private void setPath(ProcessBuilder pb)
206206
{
207207
String path = System.getenv("PATH");
208208

209-
getLogger().debug("Existing PATH: " + path);
210-
getLogger().debug("toolDir: " + toolDir);
211-
209+
if (_logPath)
210+
{
211+
getLogger().debug("Existing PATH: " + path);
212+
getLogger().debug("toolDir: " + toolDir);
213+
}
212214

213215
if (path == null)
214216
{

0 commit comments

Comments
 (0)