Added better log info when reconnecting to a server
This commit is contained in:
parent
c79c0b49c8
commit
e4976e3a5a
4
LICENSE
4
LICENSE
@ -289,7 +289,7 @@
|
||||
[BSD 3-Clause License]
|
||||
https://git.dorkbox.com/dorkbox/MinLog-SLF4J
|
||||
https://github.com/EsotericSoftware/minlog
|
||||
Copyright 2022
|
||||
Copyright 2021
|
||||
Dorkbox LLC
|
||||
Nathan Sweet
|
||||
Dan Brown
|
||||
@ -298,7 +298,7 @@
|
||||
- SLF4J - Simple facade or abstraction for various logging frameworks
|
||||
[MIT License]
|
||||
http://www.slf4j.org
|
||||
Copyright 2022
|
||||
Copyright 2021
|
||||
QOS.ch
|
||||
|
||||
- Updates - Software Update Management
|
||||
|
@ -386,9 +386,9 @@ open class Client<CONNECTION : Connection>(
|
||||
// short delay, since it failed we want to limit the retry rate to something slower than "as fast as the CPU can do it"
|
||||
delay(500)
|
||||
if (logger.isTraceEnabled) {
|
||||
logger.trace(e) { "Unable to connect, retrying..." }
|
||||
logger.trace(e) { "Unable to connect to ${IP.toString(remoteAddress!!)}, retrying..." }
|
||||
} else {
|
||||
logger.info { "Unable to connect, retrying..." }
|
||||
logger.info { "Unable to connect to ${IP.toString(remoteAddress!!)}, retrying..." }
|
||||
}
|
||||
|
||||
} catch (e: Exception) {
|
||||
|
Loading…
Reference in New Issue
Block a user