mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2026-01-26 05:24:09 +01:00
better logging
This commit is contained in:
@@ -249,7 +249,7 @@ fun applicationSetup() {
|
||||
DataClassForDestruction(proxyEnabled, proxyHost, proxyPort, proxyUsername, proxyPassword)
|
||||
},
|
||||
{ (proxyEnabled, proxyHost, proxyPort, proxyUsername, proxyPassword) ->
|
||||
logger.info("Socks Proxy changed - enabled= $proxyEnabled, proxy= $proxyHost:$proxyPort")
|
||||
logger.info("Socks Proxy changed - enabled=$proxyEnabled address=$proxyHost:$proxyPort , username=$proxyUsername, password=[REDACTED]")
|
||||
if (proxyEnabled) {
|
||||
System.getProperties()["socksProxyHost"] = proxyHost
|
||||
System.getProperties()["socksProxyPort"] = proxyPort
|
||||
|
||||
Reference in New Issue
Block a user