diff mbox series

[OSSTEST,4/6] ts-logs-capture: Move some general logs onto @general_logs

Message ID 20200327181526.19412-4-ian.jackson@eu.citrix.com (mailing list archive)
State New, archived
Headers show
Series [OSSTEST,1/6] TestSupport: export guest_find_lv | expand

Commit Message

Ian Jackson March 27, 2020, 6:15 p.m. UTC
Now @general_logs contains logs we want from guests as well as hosts.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
 ts-logs-capture | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
diff mbox series

Patch

diff --git a/ts-logs-capture b/ts-logs-capture
index ae37d492..418155ce 100755
--- a/ts-logs-capture
+++ b/ts-logs-capture
@@ -148,6 +148,11 @@  our @general_logs = qw(
                   /var/log/installer/syslog*
                   /var/log/installer/partman*
 
+                  /boot/config*
+
+                  /home/osstest/osstest-confirm-booted.log
+
+                  /var/core/*.core
 		     );
 
 sub fetch_logs_host () {
@@ -172,14 +177,8 @@  sub fetch_logs_host () {
 
                   /var/log/xen-tools/*
 
-                  /boot/config*
-
                   /etc/xen/*
 
-                  /home/osstest/osstest-confirm-booted.log
-
-                  /var/core/*.core
-
                   )];
     if (!try_fetch_logs($ho, $logs)) {
         logm("log fetching failed, trying hard host reboot...");