public function logConfiguration($config)
    {
        $config = new Config($config);

        if ($config->has('account')) {
            $config->forget('account');
        }

        $keys = ['corp_id', 'secret', 'suite.suite_id', 'suite.secret'];
        foreach ($keys as $key) {
            !$config->has($key) || $config[$key] = '***'.substr($config[$key], -5);
        }

        Log::debug('Current config:', $config->toArray());
    }