From d9c27fe7f2f1d7cc2152b397101ac200ef0715ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Prante?= Date: Wed, 19 Apr 2023 09:08:32 +0200 Subject: [PATCH] remove file handler in test logging --- net-path/src/test/resources/logging.properties | 5 +++++ net-resource/src/test/resources/logging.properties | 5 +---- net-security/src/test/resources/logging.properties | 5 +---- net-socket/src/test/resources/logging.properties | 6 ++++++ 4 files changed, 13 insertions(+), 8 deletions(-) create mode 100644 net-path/src/test/resources/logging.properties create mode 100644 net-socket/src/test/resources/logging.properties diff --git a/net-path/src/test/resources/logging.properties b/net-path/src/test/resources/logging.properties new file mode 100644 index 0000000..4416a73 --- /dev/null +++ b/net-path/src/test/resources/logging.properties @@ -0,0 +1,5 @@ +handlers=java.util.logging.ConsoleHandler +.level=ALL +java.util.logging.ConsoleHandler.level=ALL +java.util.logging.ConsoleHandler.formatter=org.xbib.net.util.ThreadLoggingFormatter +jdk.event.security.level=INFO diff --git a/net-resource/src/test/resources/logging.properties b/net-resource/src/test/resources/logging.properties index f8086a4..039cb05 100644 --- a/net-resource/src/test/resources/logging.properties +++ b/net-resource/src/test/resources/logging.properties @@ -1,9 +1,6 @@ -handlers=java.util.logging.FileHandler, java.util.logging.ConsoleHandler +handlers=java.util.logging.ConsoleHandler .level=ALL java.util.logging.SimpleFormatter.format=%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS.%1$tL %4$-7s [%3$s] %5$s %6$s%n java.util.logging.ConsoleHandler.level=ALL java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter -java.util.logging.FileHandler.level=ALL -java.util.logging.FileHandler.formatter=java.util.logging.SimpleFormatter -java.util.logging.FileHandler.pattern=build/net.log jdk.event.security.level=INFO diff --git a/net-security/src/test/resources/logging.properties b/net-security/src/test/resources/logging.properties index f8086a4..039cb05 100644 --- a/net-security/src/test/resources/logging.properties +++ b/net-security/src/test/resources/logging.properties @@ -1,9 +1,6 @@ -handlers=java.util.logging.FileHandler, java.util.logging.ConsoleHandler +handlers=java.util.logging.ConsoleHandler .level=ALL java.util.logging.SimpleFormatter.format=%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS.%1$tL %4$-7s [%3$s] %5$s %6$s%n java.util.logging.ConsoleHandler.level=ALL java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter -java.util.logging.FileHandler.level=ALL -java.util.logging.FileHandler.formatter=java.util.logging.SimpleFormatter -java.util.logging.FileHandler.pattern=build/net.log jdk.event.security.level=INFO diff --git a/net-socket/src/test/resources/logging.properties b/net-socket/src/test/resources/logging.properties new file mode 100644 index 0000000..039cb05 --- /dev/null +++ b/net-socket/src/test/resources/logging.properties @@ -0,0 +1,6 @@ +handlers=java.util.logging.ConsoleHandler +.level=ALL +java.util.logging.SimpleFormatter.format=%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS.%1$tL %4$-7s [%3$s] %5$s %6$s%n +java.util.logging.ConsoleHandler.level=ALL +java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter +jdk.event.security.level=INFO