Spotless + different log output
This commit is contained in:
parent
d478135af1
commit
57ba8eb019
|
@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- [2020-06-13] Modified AsyncAppender queue size to 1024 by [@lflare].
|
||||
- [2020-06-13] Bumped client version to 5 by [@lflare].
|
||||
- [2020-06-13] Modularized the image server [@carbotaniuman].
|
||||
- [2020-06-13] Suppressed log output for IOException [@carbotaniuman].
|
||||
|
||||
## [1.0.0-RC14] - 2020-06-12
|
||||
### Fixed
|
||||
|
|
|
@ -20,8 +20,6 @@ public final class WebSettings {
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "WebSettings{" +
|
||||
"uiPort=" + uiPort +
|
||||
'}';
|
||||
return "WebSettings{" + "uiPort=" + uiPort + '}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -85,9 +85,12 @@ class Netty(private val tls: ServerSettings.TlsCert, private val clientSettings:
|
|||
if (LOGGER.isTraceEnabled) {
|
||||
LOGGER.trace("Ignored invalid SSL connection")
|
||||
}
|
||||
} else if (cause is IOException && cause.message?.contains("peer") == true) {
|
||||
} else if (cause is IOException) {
|
||||
if (LOGGER.isInfoEnabled) {
|
||||
LOGGER.info("User (downloader) abruptly closed the connection")
|
||||
}
|
||||
if (LOGGER.isTraceEnabled) {
|
||||
LOGGER.trace("User (downloader) closed the connection")
|
||||
LOGGER.trace("IOException in pipeline", cause)
|
||||
}
|
||||
} else {
|
||||
ctx.fireExceptionCaught(cause)
|
||||
|
|
Loading…
Reference in a new issue