Change default logging to warn

This commit is contained in:
carbotaniuman 2020-09-04 08:45:34 -05:00
parent 21699acc25
commit 59fd85c628
2 changed files with 2 additions and 2 deletions

View file

@ -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)
}

View file

@ -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>