@cryptotaxi247 / netdata-1 / commits / d46d9f6d6

LogService: minor fixes

Ilya committed Jun 6, 2017 at 10:47 UTC d46d9f6d6773bd1c793ba8b2c1052a068b06080d
1 file changed +1
python.d/python_modules/base.py
+1
@@ -848,6 +848,7 @@ class LogService(SimpleService):
848 """
849 self.__re_find['run'] = self.__re_find['maximum']
850 self.__re_find['current'] = 0
851 + self.__glob_path = self.__glob_path or self.log_path # workaround for modules w/o config files
852 path_list = glob(self.__glob_path)
853 if path_list:
854 self.log_path = max(path_list)