Skip to content

Commit e57bfad

Browse files
authored
4.x: clean up warning messages from archetype generated projects (helidon-io#9451)
* Change log level of missing static file message to DEBUG * Silence warning from Jersey wadl support using logging.properties
1 parent 9af787f commit e57bfad

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

archetypes/archetypes/src/main/archetype/mp/common/files/src/main/resources/logging.properties.mustache

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ java.util.logging.SimpleFormatter.format=%1$tY.%1$tm.%1$td %1$tH:%1$tM:%1$tS %4$
2020
# Quiet Weld
2121
org.jboss.level=WARNING
2222

23+
# Quiet Jersey wadl support
24+
org.glassfish.jersey.server.wadl.level=SEVERE
25+
2326
# Component specific log levels
2427
#io.helidon.config.level=INFO
2528
#io.helidon.security.level=INFO

openapi/openapi/src/main/java/io/helidon/openapi/OpenApiFeature.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public final class OpenApiFeature implements Weighted, ServerFeature, RuntimeTyp
8181
}
8282
if (defaultContent == null) {
8383
defaultContent = "";
84-
LOGGER.log(Level.WARNING, "Static OpenAPI file not found, checked: {0}", DEFAULT_FILE_PATHS);
84+
LOGGER.log(Level.DEBUG, "Static OpenAPI file not found, checked: {0}", DEFAULT_FILE_PATHS);
8585
}
8686
}
8787
content = defaultContent;

0 commit comments

Comments
 (0)