cd.connect.spring.jersey.JerseyLoggerPoint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of servlet-spring-jersey Show documentation
Show all versions of servlet-spring-jersey Show documentation
servlet-spring-jersey - spring/jersey support. requires spring-web's RequestContextFilter.
package cd.connect.spring.jersey;
import org.slf4j.LoggerFactory;
import java.util.logging.Level;
import java.util.logging.LogManager;
import java.util.logging.Logger;
/**
* This has to be JUL because Jersey uses JUL. This should get mapped based on the logging framework
* you actually use.
*
* @author Richard Vowles - https://plus.google.com/+RichardVowles
*/
public class JerseyLoggerPoint {
public static final String LOGGER_POINT = "jersey-logging";
public static final org.slf4j.Logger logger = LoggerFactory.getLogger(LOGGER_POINT);
public static Logger julLogger;
static {
julLogger = Logger.getLogger(LOGGER_POINT);
julLogger.setLevel(Level.ALL);
}
}