From dab58e8ee1d7f2acf2bbeb9657c14ba9452543b7 Mon Sep 17 00:00:00 2001 From: Roger Pau Monne Date: Thu, 25 Nov 2021 16:06:46 +0100 Subject: [PATCH] ts-xen-install: enable timestamp on guests logs MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Enable the timestamp feature of xenconsoled so guests logs have a time reference. Can be helpful when debugging boot related slowness. This requires using the XENCONSOLED_ARGS option and setting both the log and the timestamp options. Note that setting XENCONSOLED_TRACE will override any options in XENCONSOLED_ARGS, so they can not be used in conjunction. Signed-off-by: Roger Pau Monné Acked-by: Ian Jackson --- ts-xen-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts-xen-install b/ts-xen-install index 47865eb..bf55d4e 100755 --- a/ts-xen-install +++ b/ts-xen-install @@ -140,7 +140,7 @@ sub adjustconfig () { my @commons_config = ( - "XENCONSOLED_TRACE" => "guest", + "XENCONSOLED_ARGS" => '"--log=guest --timestamp=all"', ); my $xenstored = target_var($ho, 'xenstored'); -- 2.39.5