Skip to content

Commit

Permalink
4.x: clean up warning messages from archetype generated projects (#9451)
Browse files Browse the repository at this point in the history
* Change log level of missing static file message to DEBUG
* Silence warning from Jersey wadl support using logging.properties
  • Loading branch information
barchetta authored Oct 31, 2024
1 parent 9af787f commit e57bfad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ java.util.logging.SimpleFormatter.format=%1$tY.%1$tm.%1$td %1$tH:%1$tM:%1$tS %4$
# Quiet Weld
org.jboss.level=WARNING

# Quiet Jersey wadl support
org.glassfish.jersey.server.wadl.level=SEVERE

# Component specific log levels
#io.helidon.config.level=INFO
#io.helidon.security.level=INFO
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public final class OpenApiFeature implements Weighted, ServerFeature, RuntimeTyp
}
if (defaultContent == null) {
defaultContent = "";
LOGGER.log(Level.WARNING, "Static OpenAPI file not found, checked: {0}", DEFAULT_FILE_PATHS);
LOGGER.log(Level.DEBUG, "Static OpenAPI file not found, checked: {0}", DEFAULT_FILE_PATHS);
}
}
content = defaultContent;
Expand Down

0 comments on commit e57bfad

Please sign in to comment.