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:
parent
21699acc25
commit
59fd85c628
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue