PeerDiscovery tracing adjusted

This commit is contained in:
romanman 2014-06-09 13:16:39 +01:00
parent 2156177970
commit a9b890a86d
6 changed files with 9 additions and 9 deletions

View File

@ -28,7 +28,7 @@ import static org.ethereum.net.Command.*;
*/
public class EthereumPeerTasterHandler extends ChannelInboundHandlerAdapter {
Logger logger = LoggerFactory.getLogger("wire");
Logger logger = LoggerFactory.getLogger("peerdiscovery");
Timer timer = null;
private final static byte[] MAGIC_PREFIX = {(byte)0x22, (byte)0x40, (byte)0x08, (byte)0x91};

View File

@ -8,7 +8,7 @@ import java.util.concurrent.ThreadPoolExecutor;
public class PeerDiscoveryMonitorThread implements Runnable
{
Logger logger = LoggerFactory.getLogger(getClass());
Logger logger = LoggerFactory.getLogger("peerdiscovery");
private ThreadPoolExecutor executor;
private int seconds;

View File

@ -19,7 +19,7 @@ import static org.ethereum.config.SystemProperties.CONFIG;
*/
public class PeerTaster {
Logger logger = LoggerFactory.getLogger(getClass());
Logger logger = LoggerFactory.getLogger("peerdiscovery");
PeerListener peerListener;
Channel channel;

View File

@ -14,7 +14,7 @@ import java.util.concurrent.ThreadPoolExecutor;
public class RejectedExecutionHandlerImpl implements RejectedExecutionHandler {
Logger logger = LoggerFactory.getLogger(getClass());
Logger logger = LoggerFactory.getLogger("peerdiscovery");
@Override
public void rejectedExecution(Runnable r, ThreadPoolExecutor executor) {

View File

@ -14,7 +14,7 @@ import java.util.concurrent.ThreadPoolExecutor;
public class WorkerThread implements Runnable {
Logger logger = LoggerFactory.getLogger(getClass());
Logger logger = LoggerFactory.getLogger("peerdiscovery");
ThreadPoolExecutor poolExecutor;
private PeerData peerData;

View File

@ -9,12 +9,12 @@ log4j.appender.stdout.layout.ConversionPattern= %d{HH:mm:ss} [%c{1}] %m%n
# filter noisy classes
log4j.logger.org.ethereum.net = INFO
log4j.logger.org.ethereum.net.peerdiscovery = WARN
log4j.logger.peerdiscovery = FATAL
log4j.logger.java.nio = WARN
log4j.logger.io.netty = FATAL
log4j.logger.org.ethereum.core = FATAL
log4j.logger.wire = INFO
log4j.logger.wire = DEBUG
log4j.logger.VM = DEBUG
log4j.logger.main = DEBUG
log4j.logger.main = INFO
log4j.logger.state = DEBUG
log4j.logger.blockchain = INFO
log4j.logger.blockchain = DEBUG