fix log levels
This commit is contained in:
@@ -21,7 +21,7 @@ import static org.hamcrest.CoreMatchers.is;
|
||||
import static org.junit.Assert.assertThat;
|
||||
|
||||
@RunWith(JUnit4.class)
|
||||
public class IOTest {
|
||||
public class ServerConnectionTest {
|
||||
|
||||
final static int TIMEOUT = 3000;
|
||||
final static int PORT = 3000;
|
||||
8
src/test/resources/logging.properties
Normal file
8
src/test/resources/logging.properties
Normal file
@@ -0,0 +1,8 @@
|
||||
handlers = java.util.logging.ConsoleHandler, java.util.logging.FileHandler
|
||||
.level = ALL
|
||||
|
||||
java.util.logging.ConsoleHandler.level = FINE
|
||||
|
||||
java.util.logging.FileHandler.level = ALL
|
||||
java.util.logging.FileHandler.pattern = ./target/test.log
|
||||
java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
|
||||
Reference in New Issue
Block a user