python.d.plugin: do not exit if conf file not found
lgz committed
Feb 13, 2018 at 16:58 UTC
aa0213dc071e62866992a402955f3baf0bad1ee0
1 file changed
+1
-1
plugins.d/python.d.plugin
+1
-1
@@ -196,7 +196,7 @@ class Plugin(object):
196
self.runs_counter = 0
197
self.config, error = self.loader.load_config_from_file(PLUGIN_CONFIG_DIR + 'python.d.conf')
198
if error:
199
- run_and_exit(Logger.error)(error)
199
+ Logger.error('"python.d.conf" configuration file not found. Using defaults.')
200
201
if not self.config.get('enabled', True):
202
run_and_exit(Logger.info)('DISABLED in configuration file.')