diff --git a/back/pom.xml b/back/pom.xml index c3625f2..9701c39 100644 --- a/back/pom.xml +++ b/back/pom.xml @@ -22,6 +22,13 @@ archidata 0.19.1-SNAPSHOT + + + org.slf4j + jul-to-slf4j + 2.0.9 + + ch.qos.logback logback-classic diff --git a/back/src/org/kar/karusic/WebLauncher.java b/back/src/org/kar/karusic/WebLauncher.java index 71ad576..058f527 100755 --- a/back/src/org/kar/karusic/WebLauncher.java +++ b/back/src/org/kar/karusic/WebLauncher.java @@ -2,6 +2,7 @@ package org.kar.karusic; import java.net.URI; import java.util.Iterator; +import java.util.logging.LogManager; import javax.imageio.ImageIO; import javax.imageio.ImageReader; @@ -41,6 +42,7 @@ import org.kar.karusic.migration.Migration20250104; import org.kar.karusic.migration.Migration20250105; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import org.slf4j.bridge.SLF4JBridgeHandler; import jakarta.ws.rs.core.UriBuilder; @@ -75,6 +77,10 @@ public class WebLauncher { } public static void main(final String[] args) throws Exception { + // Loop-back of logger JDK logging API to SLF4J + LogManager.getLogManager().reset(); + SLF4JBridgeHandler.install(); + WebLauncher.LOGGER.info("[START] application wake UP"); final WebLauncher launcher = new WebLauncher(); launcher.migrateDB(); diff --git a/back/src/org/kar/karusic/WebLauncherLocal.java b/back/src/org/kar/karusic/WebLauncherLocal.java index 7582acb..538cc43 100755 --- a/back/src/org/kar/karusic/WebLauncherLocal.java +++ b/back/src/org/kar/karusic/WebLauncherLocal.java @@ -1,6 +1,7 @@ package org.kar.karusic; import java.util.List; +import java.util.logging.LogManager; import org.kar.archidata.api.DataResource; import org.kar.archidata.api.ProxyResource; @@ -18,6 +19,7 @@ import org.kar.karusic.api.TrackResource; import org.kar.karusic.api.UserResource; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import org.slf4j.bridge.SLF4JBridgeHandler; public class WebLauncherLocal extends WebLauncher { private static final Logger LOGGER = LoggerFactory.getLogger(WebLauncherLocal.class); @@ -35,6 +37,10 @@ public class WebLauncherLocal extends WebLauncher { } public static void main(final String[] args) throws Exception { + // Loop-back of logger JDK logging API to SLF4J + LogManager.getLogManager().reset(); + SLF4JBridgeHandler.install(); + // Generate the APIs in type-script generateObjects(); final WebLauncherLocal launcher = new WebLauncherLocal(); launcher.process(); diff --git a/front/src/components/Icon.tsx b/front/src/components/Icon.tsx index 300946d..4bb7df3 100644 --- a/front/src/components/Icon.tsx +++ b/front/src/components/Icon.tsx @@ -25,7 +25,7 @@ export const Icon = forwardRef( maxWidth={sizeIcon} maxHeight={sizeIcon} align="center" - padding="1%" + padding="1px" ref={ref} {...rest}>