Migrate code from jetty-util Logger to slf4j Logger (#8162)
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
parent
66de7ba618
commit
d63569d025
|
@ -18,12 +18,12 @@ import java.util.Map;
|
|||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import org.eclipse.jetty.util.log.Log;
|
||||
import org.eclipse.jetty.util.log.Logger;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
public class RegexPathSpec extends AbstractPathSpec
|
||||
{
|
||||
private static final Logger LOG = Log.getLogger(UriTemplatePathSpec.class);
|
||||
private static final Logger LOG = LoggerFactory.getLogger(UriTemplatePathSpec.class);
|
||||
|
||||
private static final Map<Character, String> FORBIDDEN_ESCAPED = new HashMap<>();
|
||||
|
||||
|
|
|
@ -48,8 +48,8 @@ import org.eclipse.jetty.util.MultiMap;
|
|||
import org.eclipse.jetty.util.QuotedStringTokenizer;
|
||||
import org.eclipse.jetty.util.ReadLineInputStream;
|
||||
import org.eclipse.jetty.util.ReadLineInputStream.Termination;
|
||||
import org.eclipse.jetty.util.log.Log;
|
||||
import org.eclipse.jetty.util.log.Logger;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
* MultiPartInputStream
|
||||
|
@ -65,7 +65,7 @@ import org.eclipse.jetty.util.log.Logger;
|
|||
@Deprecated
|
||||
public class MultiPartInputStreamParser
|
||||
{
|
||||
private static final Logger LOG = Log.getLogger(MultiPartInputStreamParser.class);
|
||||
private static final Logger LOG = LoggerFactory.getLogger(MultiPartInputStreamParser.class);
|
||||
public static final MultipartConfigElement __DEFAULT_MULTIPART_CONFIG = new MultipartConfigElement(System.getProperty("java.io.tmpdir"));
|
||||
public static final MultiMap<Part> EMPTY_MAP = new MultiMap(Collections.emptyMap());
|
||||
protected InputStream _in;
|
||||
|
|
|
@ -21,8 +21,6 @@ import java.util.concurrent.TimeUnit;
|
|||
|
||||
import org.eclipse.jetty.util.BufferUtil;
|
||||
import org.eclipse.jetty.util.StringUtil;
|
||||
import org.eclipse.jetty.util.log.Log;
|
||||
import org.eclipse.jetty.util.log.Logger;
|
||||
import org.eclipse.jetty.websocket.api.Session;
|
||||
import org.eclipse.jetty.websocket.api.StatusCode;
|
||||
import org.eclipse.jetty.websocket.api.WebSocketConnectionListener;
|
||||
|
@ -31,10 +29,12 @@ import org.eclipse.jetty.websocket.api.WebSocketPingPongListener;
|
|||
import org.eclipse.jetty.websocket.api.exceptions.WebSocketException;
|
||||
import org.eclipse.jetty.websocket.client.ClientUpgradeRequest;
|
||||
import org.eclipse.jetty.websocket.client.WebSocketClient;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
public class WebSocketProxy
|
||||
{
|
||||
private static final Logger LOG = Log.getLogger(WebSocketProxy.class);
|
||||
private static final Logger LOG = LoggerFactory.getLogger(WebSocketProxy.class);
|
||||
|
||||
private final WebSocketClient client;
|
||||
private final URI serverUri;
|
||||
|
|
Loading…
Reference in New Issue