Fixing logger name

This commit is contained in:
Joakim Erdfelt 2013-01-31 09:35:21 -07:00
parent 6f91d6a590
commit 32cb1045ba
2 changed files with 4 additions and 2 deletions

View File

@ -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()

View File

@ -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;