From bbee491b3809af844eb7255bbea26e9a11c5591b Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Thu, 15 Sep 2011 07:10:28 +0000 Subject: [PATCH] * cleanup logging --- source/net/sourceforge/filebot/cli/ArgumentProcessor.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/net/sourceforge/filebot/cli/ArgumentProcessor.java b/source/net/sourceforge/filebot/cli/ArgumentProcessor.java index 9d3edcab..6d207e18 100644 --- a/source/net/sourceforge/filebot/cli/ArgumentProcessor.java +++ b/source/net/sourceforge/filebot/cli/ArgumentProcessor.java @@ -260,10 +260,9 @@ public class ArgumentProcessor { outputFormat = getSubtitleFormatByName(output); // when rewriting subtitles to target format an encoding must be defined, default to UTF-8 - if (outputEncoding == null) + if (outputEncoding == null) { outputEncoding = Charset.forName("UTF-8"); - - CLILogger.config(format("Export as: %s (%s)", outputFormat, outputEncoding.displayName(Locale.ROOT))); + } } // lookup subtitles by hash @@ -354,6 +353,7 @@ public class ArgumentProcessor { ext = outputFormat.getFilter().extension(); // adjust extension of the output file } + CLILogger.finest(format("Export [%s] as: %s / %s", subtitleFile.getName(), outputFormat, outputEncoding.displayName(Locale.ROOT))); data = exportSubtitles(subtitleFile, outputFormat, 0, outputEncoding); }