String getOnionAddressForLogging() { if (config.getSafeLogging()) { return "[scrubbed]"; } else { return getOnionAddress(); } }