ffmpeg less chatty

This commit is contained in:
Benjamin Gamard 2018-03-02 20:36:39 +01:00
parent 5fbde0dca0
commit 65b038afcd

View File

@ -34,7 +34,9 @@ public class InputStreamReaderThread extends Thread {
try { try {
BufferedReader reader = closer.register(new BufferedReader(new InputStreamReader(is))); BufferedReader reader = closer.register(new BufferedReader(new InputStreamReader(is)));
for (String line = reader.readLine(); line != null; line = reader.readLine()) { for (String line = reader.readLine(); line != null; line = reader.readLine()) {
logger.info(String.format(name + ": %s", line)); if (logger.isDebugEnabled()) {
logger.debug(String.format(name + ": %s", line));
}
} }
} catch (IOException x) { } catch (IOException x) {
// NOP // NOP