Fix rsync mode filters to allow *.log files
With the current defaults, there is no *.log files matching the templated rsync filter from the nested dirs. While the nested dirs itself are allowed to the filter, but have nothing matching because of that. Allow *.log files into that filter in order to collect logs properly. Additionally, exclude redundant or not much useful paths: - overlay* - root - console*primary.log - anaconda* since the former increases the size of collected logs by ~35M, while beeing mostly useless. And the others contain redundant things or junk. Depends-On: https://review.opendev.org/760335 Change-Id: I3548e3b89c0654acca68c1dfe7a266172d3f2621 Closes-bug: #1901508 Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
This commit is contained in:
parent
e0176dac47
commit
0025e656e7
|
@ -126,6 +126,10 @@ artcl_exclude_list:
|
|||
- /etc/pki/ca-trust/extracted
|
||||
- /etc/alternatives
|
||||
- /var/log/journal
|
||||
- overlay*
|
||||
- root
|
||||
- console*primary.log
|
||||
- anaconda*
|
||||
|
||||
# if true, a rsync filter file is generated for rsync to collect files,
|
||||
# if false, find is used to generate list of files to collect for rsync.
|
||||
|
|
|
@ -11,10 +11,11 @@
|
|||
- {{ exclude_path }}
|
||||
{% endfor %}
|
||||
|
||||
# Include all subdirectories in the check
|
||||
# Include all subdirectories and log files in the check
|
||||
# See "INCLUDE/EXCLUDE PATTERN RULES" section about --recursive
|
||||
# in the rsync man page
|
||||
+ */
|
||||
+ *.log
|
||||
|
||||
# Include paths
|
||||
{% for include_path in collect_list|default([]) %}
|
||||
|
|
Loading…
Reference in New Issue