diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2013-08-31 12:20:26 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2013-08-31 12:20:26 -0500 |
commit | 0a7a5180b2b567efc4903dd44b67c460251c9c7a (patch) | |
tree | 95f0b91b1f9b133902519ff9724c4486c86fa169 /src/lib/Bcfg2 | |
parent | a8ee32b8e57a4711ca4ff2f1e619a523f4c4216d (diff) | |
download | bcfg2-0a7a5180b2b567efc4903dd44b67c460251c9c7a.tar.gz bcfg2-0a7a5180b2b567efc4903dd44b67c460251c9c7a.tar.bz2 bcfg2-0a7a5180b2b567efc4903dd44b67c460251c9c7a.zip |
Reporting: Fix collector
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/lib/Bcfg2')
-rw-r--r-- | src/lib/Bcfg2/Reporting/Collector.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/lib/Bcfg2/Reporting/Collector.py b/src/lib/Bcfg2/Reporting/Collector.py index a1e6025e3..ccd175dc3 100644 --- a/src/lib/Bcfg2/Reporting/Collector.py +++ b/src/lib/Bcfg2/Reporting/Collector.py @@ -44,15 +44,11 @@ class ReportingCollector(object): else: level = logging.WARNING - Bcfg2.Logger.setup_logging('bcfg2-report-collector', - to_console=logging.INFO, - to_syslog=Bcfg2.Options.setup.syslog, - to_file=Bcfg2.Options.setup.logging, - level=level) + Bcfg2.Logger.setup_logging() self.logger = logging.getLogger('bcfg2-report-collector') try: - self.transport = Bcfg2.Options.setup.transport() + self.transport = Bcfg2.Options.setup.reporting_transport() self.storage = Bcfg2.Options.setup.reporting_storage() except TransportError: self.logger.error("Failed to load transport: %s" % |