[go: nahoru, domu]

Skip to content

Latest commit

 

History

History

slf4j-jdk14

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

TwitterServer slf4j-jdk14

This library provides the slf4j-jdk14 logging implementation for use in TwitterServer along with the appropriate SLF4J bridges for other logging implementations.

Backwards Compatibility

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.

Admin HTTP Interface Logging Handler

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