Fixing logger name
This commit is contained in:
parent
6f91d6a590
commit
32cb1045ba
|
@ -42,7 +42,7 @@ import org.eclipse.jetty.websocket.common.WebSocketSession;
|
|||
*/
|
||||
public abstract class EventDriver implements IncomingFrames
|
||||
{
|
||||
protected final Logger LOG;
|
||||
private static final Logger LOG = Log.getLogger(EventDriver.class);
|
||||
protected final WebSocketPolicy policy;
|
||||
protected final Object websocket;
|
||||
protected WebSocketSession session;
|
||||
|
@ -51,7 +51,6 @@ public abstract class EventDriver implements IncomingFrames
|
|||
{
|
||||
this.policy = policy;
|
||||
this.websocket = websocket;
|
||||
this.LOG = Log.getLogger(websocket.getClass());
|
||||
}
|
||||
|
||||
public WebSocketPolicy getPolicy()
|
||||
|
|
|
@ -21,6 +21,8 @@ package org.eclipse.jetty.websocket.common.events;
|
|||
import java.io.IOException;
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
import org.eclipse.jetty.util.log.Log;
|
||||
import org.eclipse.jetty.util.log.Logger;
|
||||
import org.eclipse.jetty.websocket.api.WebSocketListener;
|
||||
import org.eclipse.jetty.websocket.api.WebSocketPolicy;
|
||||
import org.eclipse.jetty.websocket.api.extensions.Frame;
|
||||
|
@ -34,6 +36,7 @@ import org.eclipse.jetty.websocket.common.message.SimpleTextMessage;
|
|||
*/
|
||||
public class ListenerEventDriver extends EventDriver
|
||||
{
|
||||
private static final Logger LOG = Log.getLogger(ListenerEventDriver.class);
|
||||
private final WebSocketListener listener;
|
||||
private MessageAppender activeMessage;
|
||||
private boolean hasCloseBeenCalled = false;
|
||||
|
|
Loading…
Reference in New Issue