String pattern = "[%d{ABSOLUTE}] [%t] %5p (%F:%L) - %m%n";
PatternLayout layout = new PatternLayout(pattern);
ConsoleAppender consoleAppender = new ConsoleAppender(layout);
consoleAppender.setTarget(ConsoleAppender.SYSTEM_OUT);
Log4jLoggerPlugin loggerPlugin = (Log4jLoggerPlugin) Logger.getLogger("org.jboss.remoting").getLoggerPlugin();
org.apache.log4j.Logger logger = loggerPlugin.getLogger();
logger.setLevel(XLevel.TRACE);
logger.addAppender(consoleAppender);
loggerPlugin = (Log4jLoggerPlugin) Logger.getLogger("org.jboss.test.remoting").getLoggerPlugin();
logger = loggerPlugin.getLogger();
logger.setLevel(XLevel.TRACE);
logger.addAppender(consoleAppender);
breakServer = -1;
counter = 0;