diff --git a/components/proxy/src/main/java/com/hotels/styx/infrastructure/logging/LOGBackConfigurer.java b/components/proxy/src/main/java/com/hotels/styx/infrastructure/logging/LOGBackConfigurer.java index b8f57e848..8fdaa2501 100644 --- a/components/proxy/src/main/java/com/hotels/styx/infrastructure/logging/LOGBackConfigurer.java +++ b/components/proxy/src/main/java/com/hotels/styx/infrastructure/logging/LOGBackConfigurer.java @@ -26,7 +26,9 @@ import java.io.FileNotFoundException; import java.net.MalformedURLException; import java.net.URL; +import java.time.zone.ZoneRulesException; import java.util.logging.Handler; +import java.util.logging.Level; import java.util.logging.LogManager; import java.util.logging.Logger; @@ -113,7 +115,8 @@ public static void initLogging(URL url, boolean installJULBridge) { SLF4JBridgeHandler.install(); } - } catch (JoranException e) { + } catch (JoranException | ZoneRulesException e) { + Logger.getLogger(LOGBackConfigurer.class.getName()).log(Level.SEVERE, "exception while initializing LOGBack", e); throw new IllegalArgumentException("exception while initializing LOGBack", e); } } diff --git a/distribution/conf/env-development/logback.xml b/distribution/conf/env-development/logback.xml index 5c60bd280..48c882965 100644 --- a/distribution/conf/env-development/logback.xml +++ b/distribution/conf/env-development/logback.xml @@ -10,7 +10,7 @@ - + diff --git a/distribution/conf/env-perf-local/logback.xml b/distribution/conf/env-perf-local/logback.xml index da727f631..c071038ab 100644 --- a/distribution/conf/env-perf-local/logback.xml +++ b/distribution/conf/env-perf-local/logback.xml @@ -9,7 +9,7 @@ - + diff --git a/distribution/conf/logback.xml b/distribution/conf/logback.xml index cdb8038c7..754d9ca54 100644 --- a/distribution/conf/logback.xml +++ b/distribution/conf/logback.xml @@ -10,7 +10,7 @@ - +