logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Asma Zinneera Jabir <azinne...@gmail.com>
Subject Getting the LoggerContext from log4j-api
Date Wed, 20 Sep 2017 06:18:57 GMT
I know that the usual way of getting the configuration is through the
org.apache.logging.log4j.core.LoggerContext log4j-core as

LoggerContext ctx = (LoggerContext) LogManager.getContext()

But is there a way to get the context from the
org.apache.logging.log4j.spi.LoggerContext??

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message