code: def get_config(self):
          
          # Create a dummy report object if necessary
          channels = [sect.rsplit('_')[0] for sect in self.config.sections(suffix='_channel')]
          channels.sort()
          disabled_apps = [app for app in self._config_apps.keys() if app not in self._apps]
          return u''.join([
              u"\n--- %s configuration ---" % __package__,
              u"\nConfiguration file: %s" % self.config.cfgfile,
              u"\nConfiguration directory: %s" % self.confdir,
              u"\nConfigured applications: %s" % ', '.join(self._config_apps.keys()),
              u"\nDisabled applications: %s" % ', '.join(disabled_apps) if disabled_apps else '',
              u"\nFilter fields: %s" % ', '.join(self.config.options('fields')),
              u"\nOutput channels: %s" % ', '.join(channels) if channels else u'No channels defined',
              u"\nReports: %s\n" % ', '.join(
                  [section[:-7] for section in self.config.sections(suffix='_report')]
              ),
              ''
          ])
docs: Return a formatted text with main configuration parameters.