I’m trying to get logging by using the ConsoleLogger that’s available in the conversion library.
I’m using version 24.1.1 of the library and am using the following code:
ConsoleLogger logger = new ConsoleLogger();
ConverterSettings settings = new ConverterSettings();
settings.setLogger(logger);
Converter converter = new Converter(originalfile.getAbsolutePath(), () -> settings);
PdfConvertOptions options = new PdfConvertOptions();
converter.convert(pdffile.getAbsolutePath(), options);
The result I now see in the log is:
[TRACE] {message}
[TRACE] {message}
[TRACE] {message}
[TRACE] {message}
[TRACE] {message}
[TRACE] {message}
[TRACE] {message}
[TRACE] {message}
It looks very much as if the log messages are not correctly placed in the variable {message} while writing to the log output.