WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH 0/3] Add date and domid to guest's console output

To: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 0/3] Add date and domid to guest's console output.
From: Yuji Shimada <shimada-yxb@xxxxxxxxxxxxxxx>
Date: Thu, 29 Jan 2009 17:00:23 +0900
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Thu, 29 Jan 2009 00:01:04 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090128110448.GJ1213@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20090128131435.107B.SHIMADA-YXB@xxxxxxxxxxxxxxx> <20090128110448.GJ1213@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, 28 Jan 2009 11:04:48 +0000
"Daniel P. Berrange" <berrange@xxxxxxxxxx> wrote:

> On Wed, Jan 28, 2009 at 01:33:12PM +0900, Yuji Shimada wrote:
> > These patches add date and domid to guest's console output.
> > 
> >   [PATCH 1/3] Add "--timestamp" option to xenconsole.
> >   [PATCH 2/3] Add "--console_timestamp" to xm create.
> >   [PATCH 3/3] Modify stubdom-dm.
> > 
> > We can log guest's console output with date and domid when we create
> > the guest like below.
> > 
> >  # xm create -c --console_timestamp GUEST > GUEST-console.log
> 
> This seems like a slightly odd place in the code to address the problem.
> 
> The xenconsoled daemon has the ability to save all guest data to a logfile
> in /var/log/xen/console/guest-$NAME.log. So if you want to save logs and
> timestamp them, it'd seem more natural to put timestamping capability in
> the xenconsoled program.
> 

Hi Daniel,

Thanks for your comment.

xenconsoled saves all guest's logs.
On the other hand, my patch saves one guest's log with timestamp.

So my patch is useful when we need particular guest's log with
timestamp.

--
Yuji Shimada


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel