Skip to content

Commit

Permalink
Adapt log4j-core to Log4j API 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
ppkarwasz committed Oct 18, 2024
1 parent 259a05d commit 030f5d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
import javax.tools.ToolProvider;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Marker;
import org.apache.logging.log4j.core.test.TestConstants;
import org.apache.logging.log4j.message.Message;
import org.apache.logging.log4j.message.MessageFactory;
import org.apache.logging.log4j.spi.LoggingSystemProperty;
import org.apache.logging.log4j.test.TestLogger;
import org.apache.logging.log4j.util.MessageSupplier;
import org.apache.logging.log4j.util.Strings;
Expand All @@ -52,7 +52,7 @@

@Tag("functional")
@SetSystemProperty(
key = LoggingSystemProperty.Constant.LOGGER_CONTEXT_FACTORY_CLASS,
key = TestConstants.LOGGER_CONTEXT_FACTORY,
value = "org.apache.logging.log4j.test.TestLoggerContextFactory")
public class GenerateCustomLoggerTest {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
import javax.tools.ToolProvider;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Marker;
import org.apache.logging.log4j.core.test.TestConstants;
import org.apache.logging.log4j.message.Message;
import org.apache.logging.log4j.message.MessageFactory;
import org.apache.logging.log4j.spi.ExtendedLogger;
import org.apache.logging.log4j.spi.LoggingSystemProperty;
import org.apache.logging.log4j.test.TestLogger;
import org.apache.logging.log4j.util.MessageSupplier;
import org.apache.logging.log4j.util.Strings;
Expand All @@ -53,7 +53,7 @@

@Tag("functional")
@SetSystemProperty(
key = LoggingSystemProperty.Constant.LOGGER_CONTEXT_FACTORY_CLASS,
key = TestConstants.LOGGER_CONTEXT_FACTORY,
value = "org.apache.logging.log4j.test.TestLoggerContextFactory")
public class GenerateExtendedLoggerTest {

Expand Down

0 comments on commit 030f5d6

Please sign in to comment.