Details
-
Bug
-
Status: Resolved
-
P1
-
Resolution: Fixed
-
2.35.0
-
None
Description
https://github.com/apache/beam/pull/15857 seemed to have caused an infinite logging loop due to the shadow closure no longer rewriting SLF4J JUL adapter https://ci-beam.apache.org/job/beam_PreCommit_Java_Commit/19722/
Loop looks like:
java.lang.StackOverflowError at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:362) at org.slf4j.bridge.SLF4JBridgeHandler.getSLF4JLogger(SLF4JBridgeHandler.java:202) at org.slf4j.bridge.SLF4JBridgeHandler.publish(SLF4JBridgeHandler.java:293) at java.util.logging.Logger.log(Logger.java:738) at org.slf4j.impl.JDK14LoggerAdapter.log(JDK14LoggerAdapter.java:582) at org.slf4j.impl.JDK14LoggerAdapter.log(JDK14LoggerAdapter.java:632) at org.slf4j.bridge.SLF4JBridgeHandler.callLocationAwareLogger(SLF4JBridgeHandler.java:221) at org.slf4j.bridge.SLF4JBridgeHandler.publish(SLF4JBridgeHandler.java:303) at java.util.logging.Logger.log(Logger.java:738) at org.slf4j.impl.JDK14LoggerAdapter.log(JDK14LoggerAdapter.java:582) at org.slf4j.impl.JDK14LoggerAdapter.log(JDK14LoggerAdapter.java:632) at org.slf4j.bridge.SLF4JBridgeHandler.callLocationAwareLogger(SLF4JBridgeHandler.java:221) at org.slf4j.bridge.SLF4JBridgeHandler.publish(SLF4JBridgeHandler.java:303) at java.util.logging.Logger.log(Logger.java:738) at org.slf4j.impl.JDK14LoggerAdapter.log(JDK14LoggerAdapter.java:582) at org.slf4j.impl.JDK14LoggerAdapter.log(JDK14LoggerAdapter.java:632) at org.slf4j.bridge.SLF4JBridgeHandler.callLocationAwareLogger(SLF4JBridgeHandler.java:221) at org.slf4j.bridge.SLF4JBridgeHandler.publish(SLF4JBridgeHandler.java:303) at java.util.logging.Logger.log(Logger.java:738) at org.slf4j.impl.JDK14LoggerAdapter.log(JDK14LoggerAdapter.java:582) at org.slf4j.impl.JDK14LoggerAdapter.log(JDK14LoggerAdapter.java:632) at org.slf4j.bridge.SLF4JBridgeHandler.callLocationAwareLogger(SLF4JBridgeHandler.java:221) at org.slf4j.bridge.SLF4JBridgeHandler.publish(SLF4JBridgeHandler.java:303) at java.util.logging.Logger.log(Logger.java:738)
Attachments
Issue Links
- links to