All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cd.connect.spring.jersey.JerseyLoggerPoint Maven / Gradle / Ivy

Go to download

servlet-spring-jersey - spring/jersey support. requires spring-web's RequestContextFilter.

There is a newer version: 1.13
Show newest version
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);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy