This library provides the slf4j-jdk14
logging
implementation for use in TwitterServer
along with the appropriate SLF4J bridges
for other logging implementations.
TwitterServer
previously used util-logging
directly for framework logging and provided access to a configured c.t.logging.Logger
.
util-logging
is a thin Scala wrapper
over java.util.logging
(JUL).
As such backwards compatibility comes from choosing the slf4j-jdk14
logging implementation which
configures TwitterServer
to use java.util.logging
(JUL)
allowing users to use the util-logging
library and traits for configuration of the JUL subsystem.
This library provides the c.t.server.logging.Logging
and c.t.server.logging.LogFormat
traits
which easily provides backwards compatibility for use of util-logging
loggers in TwitterServer
.
Java users can extend c.t.server.slf4j.jdk14.AbstractTwitterServer
for backwards compatible
logging.
Depending on this library will install a logging handler on the HTTP admin interface
which allows users to dynamically change com.twitter.logging.Logger
log levels.
For more information see the TwitterServer
user guide section on Logging