Skip to content

Commit 166b9da

Browse files
authored
[3.x] Remove FileHandler from logging.properties (helidon-io#6363)
1 parent 3edfbc6 commit 166b9da

4 files changed

Lines changed: 7 additions & 11 deletions

File tree

examples/microprofile/static-content/src/test/resources/logging.properties

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2018, 2020 Oracle and/or its affiliates.
2+
# Copyright (c) 2018, 2023 Oracle and/or its affiliates.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
@@ -16,8 +16,4 @@
1616

1717
handlers=io.helidon.common.HelidonConsoleHandler
1818
.level=INFO
19-
java.util.logging.FileHandler.pattern=%h/java%u.log
20-
java.util.logging.FileHandler.limit=50000
21-
java.util.logging.FileHandler.count=1
22-
java.util.logging.FileHandler.formatter=java.util.logging.XMLFormatter
2319
org.jboss.weld.level=INFO

integrations/micrometer/cdi/src/test/resources/logging.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2021 Oracle and/or its affiliates.
2+
# Copyright (c) 2021, 2023 Oracle and/or its affiliates.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
@@ -18,7 +18,7 @@
1818
# For more information see $JAVA_HOME/jre/lib/logging.properties
1919

2020
# Send messages to the console
21-
handlers=io.helidon.common.HelidonConsoleHandler,java.util.logging.FileHandler
21+
handlers=io.helidon.common.HelidonConsoleHandler
2222

2323
# HelidonConsoleHandler uses a SimpleFormatter subclass that replaces "!thread!" with the current thread
2424
java.util.logging.SimpleFormatter.format=%1$tY.%1$tm.%1$td %1$tH:%1$tM:%1$tS %4$s %3$s !thread!: %5$s%6$s%n

microprofile/metrics/src/test/resources/logging.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2021 Oracle and/or its affiliates.
2+
# Copyright (c) 2021, 2023 Oracle and/or its affiliates.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
@@ -18,7 +18,7 @@
1818
# For more information see $JAVA_HOME/jre/lib/logging.properties
1919

2020
# Send messages to the console
21-
handlers=io.helidon.common.HelidonConsoleHandler,java.util.logging.FileHandler
21+
handlers=io.helidon.common.HelidonConsoleHandler
2222

2323
# HelidonConsoleHandler uses a SimpleFormatter subclass that replaces "!thread!" with the current thread
2424
java.util.logging.SimpleFormatter.format=%1$tY.%1$tm.%1$td %1$tH:%1$tM:%1$tS %4$s %3$s !thread!: %5$s%6$s%n

microprofile/tests/tck/tck-fault-tolerance/src/test/resources/logging.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2018 Oracle and/or its affiliates.
2+
# Copyright (c) 2018, 2023 Oracle and/or its affiliates.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
@@ -15,5 +15,5 @@
1515
#
1616

1717
# Logging
18-
handlers = java.util.logging.FileHandler, java.util.logging.ConsoleHandler
18+
handlers = java.util.logging.ConsoleHandler
1919
.level = FINE

0 commit comments

Comments
 (0)