Skip to content

Commit 4b50c01

Browse files
committed
Logging
Signed-off-by: Maxim Nesen <maxim.nesen@oracle.com>
1 parent 49fa38b commit 4b50c01

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core-server/src/main/java/org/glassfish/jersey/server/ServerRuntime.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ public void process(final Throwable throwable) {
443443

444444
if (!processResponseError(responseError)) {
445445
// Pass the exception to the container.
446-
LOGGER.log(Level.FINE, LocalizationMessages.ERROR_EXCEPTION_MAPPING_THROWN_TO_CONTAINER(), responseError);
446+
LOGGER.log(Level.WARNING, LocalizationMessages.ERROR_EXCEPTION_MAPPING_THROWN_TO_CONTAINER(), responseError);
447447

448448
try {
449449
request.getResponseWriter().failure(responseError);

core-server/src/main/resources/org/glassfish/jersey/server/internal/localization.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ error.closing.commit.output.stream=Error while closing the output stream in orde
4040
error.closing.finder=Error while closing {0} resource finder.
4141
error.exception.mapping.original.exception=An exception mapping did not successfully produce and processed a response. Logging the original error.
4242
error.exception.mapping.processed.response.error=A response error mapping did not successfully produce and processed a response.
43-
error.exception.mapping.thrown.to.container=An exception mapping did not successfully produce and processed a response. Logging the exception propagated to the container.
43+
error.exception.mapping.thrown.to.container=An exception mapping did not successfully produce and processed a response. Logging the exception propagated to the default exception mapper.
4444
error.marshalling.jaxb=Error marshalling JAXB object of type "{0}".
4545
error.msg=ERROR: {0}
4646
error.monitoring.statistics.generation=Error generating monitoring statistics.

0 commit comments

Comments
 (0)