Skip to content

Commit d46d9f6

Browse files
committed
LogService: minor fixes
1 parent 81199cf commit d46d9f6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

python.d/python_modules/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -848,6 +848,7 @@ def _find_recent_log_file(self):
848848
"""
849849
self.__re_find['run'] = self.__re_find['maximum']
850850
self.__re_find['current'] = 0
851+
self.__glob_path = self.__glob_path or self.log_path # workaround for modules w/o config files
851852
path_list = glob(self.__glob_path)
852853
if path_list:
853854
self.log_path = max(path_list)

0 commit comments

Comments
 (0)