diff --git a/pdf/src/main/java/io/quarkiverse/renarde/pdf/runtime/PdfResponseHandler.java b/pdf/src/main/java/io/quarkiverse/renarde/pdf/runtime/PdfResponseHandler.java index aee33698..1ff7811e 100644 --- a/pdf/src/main/java/io/quarkiverse/renarde/pdf/runtime/PdfResponseHandler.java +++ b/pdf/src/main/java/io/quarkiverse/renarde/pdf/runtime/PdfResponseHandler.java @@ -32,13 +32,20 @@ public class PdfResponseHandler { XRLog.setLoggerImpl(new XRLogger() { @Override public void log(String where, Level level, String msg) { - logger.log(where, translate(level), msg, null, null); + // FIXME: dropped where because if I set it, it appears as " in the logs and I can't even enable the logs + logger.log(translate(level), msg); + } + + @Override + public void log(String where, Level level, String msg, Throwable th) { + // FIXME: dropped where because if I set it, it appears as " in the logs and I can't even enable the logs + logger.log(translate(level), msg, th); } private org.jboss.logging.Logger.Level translate(Level level) { // downgrade INFO which is too verbose if (level == Level.INFO) - return Logger.Level.TRACE; + return Logger.Level.DEBUG; // the rest is a best guess if (level == Level.WARNING) return Logger.Level.WARN; @@ -52,11 +59,6 @@ private org.jboss.logging.Logger.Level translate(Level level) { return Logger.Level.INFO; } - @Override - public void log(String where, Level level, String msg, Throwable th) { - logger.log(where, translate(level), msg, null, th); - } - @Override public void setLevel(String logger, Level level) { }