changeset 1202:19f4e77ac508

PcapUnidirectionalRawPacketEmitterTest - enable logger
author Devel 1
date Mon, 22 Jun 2020 13:35:38 +0200
parents fe6f7073034b
children 923bd043006e
files stress-tester/src/test/java/com/passus/st/emitter/raw/PcapUnidirectionalRawPacketEmitterTest.java
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stress-tester/src/test/java/com/passus/st/emitter/raw/PcapUnidirectionalRawPacketEmitterTest.java	Mon Jun 22 13:21:14 2020 +0200
+++ b/stress-tester/src/test/java/com/passus/st/emitter/raw/PcapUnidirectionalRawPacketEmitterTest.java	Mon Jun 22 13:35:38 2020 +0200
@@ -1,5 +1,6 @@
 package com.passus.st.emitter.raw;
 
+import com.passus.commons.Log4jConfigurationFactory;
 import com.passus.data.HeapByteBuff;
 import com.passus.net.session.Session;
 import com.passus.st.AbstractWireMockTest;
@@ -14,6 +15,10 @@
 
 public class PcapUnidirectionalRawPacketEmitterTest extends AbstractWireMockTest {
 
+    static void enableLogger() {
+        Log4jConfigurationFactory.enableFactory("debug");
+    }
+
     public PcapUnidirectionalRawPacketEmitter createEmitter(SessionMapper mapper) throws Exception {
 
         MapBasedMACAddressResolver macResolver = new MapBasedMACAddressResolver();