Change default logging to warn
This commit is contained in:
parent
21699acc25
commit
59fd85c628
|
@ -234,7 +234,7 @@ class ImageServer(
|
|||
val lastModified = mdResponse.header("Last-Modified")
|
||||
|
||||
if (!contentType.isImageMimetype()) {
|
||||
LOGGER.trace { "Upstream query for $sanitizedUri returned bad mimetype $contentType" }
|
||||
LOGGER.warn { "Upstream query for $sanitizedUri returned bad mimetype $contentType" }
|
||||
mdResponse.close()
|
||||
return Response(Status.INTERNAL_SERVER_ERROR)
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<configuration>
|
||||
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
|
||||
<level>${file-level:-TRACE}</level>
|
||||
<level>${file-level:-WARN}</level>
|
||||
</filter>
|
||||
|
||||
<file>log/latest.log</file>
|
||||
|
|
Loading…
Reference in a new issue