Log negotiated parms at info level

Useful when debug disabled.
This commit is contained in:
Davide De Rosa 2018-09-11 10:48:37 +02:00
parent 03cf900996
commit 915638b163
1 changed files with 3 additions and 3 deletions

View File

@ -1050,14 +1050,14 @@ public class SessionProxy {
let pushedFraming = pushReply.compressionFraming
if let negFraming = pushedFraming {
log.debug("Negotiated compression framing: \(negFraming.rawValue)")
log.info("Negotiated compression framing: \(negFraming.rawValue)")
}
if let negPing = pushReply.ping {
log.debug("Negotiated keep-alive: \(negPing) seconds")
log.info("Negotiated keep-alive: \(negPing) seconds")
}
let pushedCipher = pushReply.cipher
if let negCipher = pushedCipher {
log.debug("Negotiated cipher: \(negCipher.rawValue)")
log.info("Negotiated cipher: \(negCipher.rawValue)")
}
let bridge: EncryptionBridge