Fix log output when getting server from database.