Log username and status on start.

This commit is contained in:
Felix Ableitner 2016-01-24 23:43:10 +01:00
parent 6cf8a3c0b8
commit d2f497d4de

View file

@ -39,6 +39,8 @@ final class ConnectionHandler(settings: SettingsInterface, database: DatabaseInt
FutureHelper {
crypto.generateLocalKeys()
Log.i(Tag, "Service started, address is " + crypto.localAddress)
Log.i(Tag, "Local user is " + settings.get(SettingsInterface.KeyUserName, "none") +
" with status '" + settings.get(SettingsInterface.KeyUserStatus, "") + "'")
transmissionInterfaces += new InternetInterface(this, crypto)
transmissionInterfaces.foreach(_.create())
}