ffmpeg less chatty

This commit is contained in:
Benjamin Gamard 2018-03-02 20:36:39 +01:00
parent 5fbde0dca0
commit 65b038afcd
1 changed files with 3 additions and 1 deletions

View File

@ -34,7 +34,9 @@ public class InputStreamReaderThread extends Thread {
try {
BufferedReader reader = closer.register(new BufferedReader(new InputStreamReader(is)));
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) {
// NOP