Finatra v22.2.0 Release Notes
-
- ⚡️ inject-modules: Deprecate
c.t.inject.modules.LoggerModule
. Updatec.t.inject.app.App
to mix in theutil/util-slf4j-jul-bridge
Slf4jBridge
trait. TheLoggerModule
does not provide a solution inline with the best practices for bridging JUL to the SLF4J-API and users are encouraged to instead mix in thec.t.util.logging.Slf4jBridge
into the main class of their application if necessary. The updates toc.t.inject.app.App
will now properly bridge JUL to the SLF4J-API early in the constructor of the application catching any log messages emitted to JUL before where the bridging would have been attempted when using theLoggerModule
.
Note that the
Slf4jBridge
trait is already mixed into thec.t.server.TwitterServer
trait and thus no further action is necessary for bridging JUL to the SLF4J-API in extensions ofc.t.server.TwitterServer
.PHAB_ID=D827584
- 🗄 inject-slf4j: Deprecate
c.t.inject.logging.Logging
trait and methods. Users are encouraged to use thec.t.util.logging.Logging
trait directly. There are no replacements forc.t.inject.logging.Logging#debugFutureResult
andc.t.inject.logging.Logging#time
.PHAB_ID=D821722
- ⚡️ inject-modules: Deprecate