diff --git a/main.go b/main.go index 9d6ff7e..2a48e36 100644 --- a/main.go +++ b/main.go @@ -69,17 +69,25 @@ func main() { "/etc/fstab", "/etc/mtab", "/etc/waagent.conf", - "/var/log/messages", - "/var/log/boot.log", - "/var/log/dmesg", - "/var/log/syslog", + "/var/log/messages*", + "/var/log/boot*", + "/var/log/dmesg*", + "/var/log/syslog*", "/var/log/waagent/*", + "/var/log/waagent/*/*", + "/var/log/waagent/*/*/*", "/var/log/waagent*", "/var/log/walinuxagent/*", + "/var/log/walinuxagent/*/*", + "/var/log/walinuxagent/*/*/*", "/var/log/walinuxagent*", "/var/log/azure/*", "/var/log/azure/*/*", + "/var/log/azure/*/*/*", + "/var/log/azure/*/*/*/*", "/var/log/*", + "/boot/grub/*cfg", + "/grub/*cfg", } fs, err := r.Root()