|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 3/6] ts-logs-capture: Break logs up into general logs and host logs
We are going to fetch logs out of guests. @general_logs will contain
the relevant patterns. Right now we just introduce the variable and
split the list. The categorisation is roughly right...
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
ts-logs-capture | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/ts-logs-capture b/ts-logs-capture
index 88b19658..ae37d492 100755
--- a/ts-logs-capture
+++ b/ts-logs-capture
@@ -135,8 +135,7 @@ sub try_cmd_output_save ($;$) {
close $fh or die $!;
}
-sub fetch_logs_host () {
- my $logs= [qw(
+our @general_logs = qw(
/var/log/kern.log*
/var/log/syslog*
/var/log/daemon.log*
@@ -149,6 +148,10 @@ sub fetch_logs_host () {
/var/log/installer/syslog*
/var/log/installer/partman*
+ );
+
+sub fetch_logs_host () {
+ my $logs= [@general_logs, qw(
/var/log/xen/xend.log*
/var/log/xen/xend-debug.log*
/var/log/xen/xen-hotplug.log*
--
2.11.0
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |