diff options
Diffstat (limited to 'plugins.d/python.d.plugin')
-rwxr-xr-x | plugins.d/python.d.plugin | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins.d/python.d.plugin b/plugins.d/python.d.plugin index 855080e8..c9b26016 100755 --- a/plugins.d/python.d.plugin +++ b/plugins.d/python.d.plugin @@ -196,7 +196,7 @@ class Plugin(object): self.runs_counter = 0 self.config, error = self.loader.load_config_from_file(PLUGIN_CONFIG_DIR + 'python.d.conf') if error: - run_and_exit(Logger.error)(error) + Logger.error('"python.d.conf" configuration file not found. Using defaults.') if not self.config.get('enabled', True): run_and_exit(Logger.info)('DISABLED in configuration file.') @@ -316,10 +316,10 @@ class Plugin(object): job.checked = True continue if not job.is_autodetect() or ok is None: - job.error('check() => [FAILED]') + job.info('check() => [FAILED]') self.delete_job(job) else: - job.error('check() => [RECHECK] (autodetection_retry: {0})'.format(job.recheck_every)) + job.info('check() => [RECHECK] (autodetection_retry: {0})'.format(job.recheck_every)) def run_create(self): for job in self.jobs: |