Skip to content
Snippets Groups Projects
Commit 9a5ada2f authored by Georg Seibt's avatar Georg Seibt :nerd:
Browse files

set stderr/stdout logging to finer

parent 76bba948
No related branches found
No related tags found
No related merge requests found
......@@ -92,16 +92,16 @@ public class ProcessExecutor {
LOG.fine(() -> String.format("Execution of '%s' returned exit code %d.", cmd, res.exitCode));
if (res.stdOut.isEmpty()) {
LOG.fine(() -> String.format("Execution of '%s' returned no standard output.", cmd));
LOG.finer(() -> String.format("Execution of '%s' returned no standard output.", cmd));
} else {
LOG.fine(() -> String.format("Execution of '%s' returned standard output.", cmd));
LOG.finer(() -> String.format("Execution of '%s' returned standard output.", cmd));
LOG.finest(() -> String.format("Standard output of '%s' was:%n%s", cmd, res.stdOut));
}
if (res.stdErr.isEmpty()) {
LOG.fine(() -> String.format("Execution of '%s' returned no standard error output.", cmd));
LOG.finer(() -> String.format("Execution of '%s' returned no standard error output.", cmd));
} else {
LOG.fine(() -> String.format("Execution of '%s' returned standard error output.", cmd));
LOG.finer(() -> String.format("Execution of '%s' returned standard error output.", cmd));
LOG.finest(() -> String.format("Standard output of '%s' was:%n%s", cmd, res.stdErr));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment