Skip to content
This repository was archived by the owner on Apr 20, 2021. It is now read-only.

Commit 6b5046d

Browse files
committed
extend default globs
1 parent 8d4a670 commit 6b5046d

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

main.go

+12-4
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,25 @@ func main() {
6969
"/etc/fstab",
7070
"/etc/mtab",
7171
"/etc/waagent.conf",
72-
"/var/log/messages",
73-
"/var/log/boot.log",
74-
"/var/log/dmesg",
75-
"/var/log/syslog",
72+
"/var/log/messages*",
73+
"/var/log/boot*",
74+
"/var/log/dmesg*",
75+
"/var/log/syslog*",
7676
"/var/log/waagent/*",
77+
"/var/log/waagent/*/*",
78+
"/var/log/waagent/*/*/*",
7779
"/var/log/waagent*",
7880
"/var/log/walinuxagent/*",
81+
"/var/log/walinuxagent/*/*",
82+
"/var/log/walinuxagent/*/*/*",
7983
"/var/log/walinuxagent*",
8084
"/var/log/azure/*",
8185
"/var/log/azure/*/*",
86+
"/var/log/azure/*/*/*",
87+
"/var/log/azure/*/*/*/*",
8288
"/var/log/*",
89+
"/boot/grub/*cfg",
90+
"/grub/*cfg",
8391
}
8492

8593
fs, err := r.Root()

0 commit comments

Comments
 (0)