Author: tilman Date: Mon Nov 6 16:53:25 2023 New Revision: 1913621 URL: http://svn.apache.org/viewvc?rev=1913621&view=rev Log: PDFBOX-5695: replace deprecated
Modified: pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/ui/DebugLogAppender.java Modified: pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/ui/DebugLogAppender.java URL: http://svn.apache.org/viewvc/pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/ui/DebugLogAppender.java?rev=1913621&r1=1913620&r2=1913621&view=diff ============================================================================== --- pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/ui/DebugLogAppender.java (original) +++ pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/ui/DebugLogAppender.java Mon Nov 6 16:53:25 2023 @@ -30,6 +30,7 @@ import org.apache.logging.log4j.Level; import org.apache.logging.log4j.core.Filter; import org.apache.logging.log4j.core.Layout; import org.apache.logging.log4j.core.LogEvent; +import org.apache.logging.log4j.core.config.Property; import org.apache.logging.log4j.core.config.builder.api.AppenderComponentBuilder; import org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder; import org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilderFactory; @@ -40,7 +41,7 @@ public class DebugLogAppender extends Ab protected DebugLogAppender(String name, Filter filter, Layout<? extends Serializable> layout, final boolean ignoreExceptions) { - super(name, filter, layout, ignoreExceptions); + super(name, filter, layout, ignoreExceptions, Property.EMPTY_ARRAY); } @PluginFactory