Change default log filter to collect '.1.gz' and '.2.gz' logs

This commit is contained in:
f3flight 2016-07-07 13:40:10 +00:00
parent 2b5554ebea
commit b67cfac8e0

View File

@ -60,7 +60,7 @@ def load_conf(filename):
conf['files'] = []
conf['filelists'] = []
conf['logs'] = {'path': '/var/log',
'exclude': '[-_]\d{8}$|atop[-_]|\.gz$'}
'exclude': '[-_]\d{8}$|atop[-_]|\.[^12]\.gz$|\.\d{2,}\.gz$'}
'''Shell mode - only run what was specified via command line.
Skip actionable conf fields (see timmy/nodes.py -> Node.conf_actionable);
Skip rqfile import;