1
0
Fork 1
mirror of https://gitlab.com/mangadex-pub/mangadex_at_home.git synced 2024-01-19 02:48:37 +00:00

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") val lastModified = mdResponse.header("Last-Modified")
if (!contentType.isImageMimetype()) { 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() mdResponse.close()
return Response(Status.INTERNAL_SERVER_ERROR) return Response(Status.INTERNAL_SERVER_ERROR)
} }

View file

@ -1,7 +1,7 @@
<configuration> <configuration>
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<filter class="ch.qos.logback.classic.filter.ThresholdFilter"> <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>${file-level:-TRACE}</level> <level>${file-level:-WARN}</level>
</filter> </filter>
<file>log/latest.log</file> <file>log/latest.log</file>