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] how to ouput log messages of pygrub into user console

To: "sun.shuchun" <sun.shuchun@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] how to ouput log messages of pygrub into user console
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Mon, 8 Feb 2010 09:31:32 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 07 Feb 2010 23:31:50 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B6F5ED4.8080606@xxxxxxxxxxxxxx>
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: <4B6F5ED4.8080606@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Mon, Feb 08, 2010 at 09:46:12AM +0900, sun.shuchun wrote:
> Hello, everyone!
> 
> I have somes questions as follows:
> 
> I found there are some print commands in the pygrub,
> but I don't know where pygrub outputs them.
> 
> Could anyone tell me some details about this?
> 

"xm create -f /etc/xen/<guest> -c" will show the pygrub console.

I don't know if it can be redirected to vfb.. 

-- Pasi

> Also,
> I wanted to output some log messages into "/var/log/xen/xend.log"
> and tried to "from XendLogging import log",
> but failed to import the log object.
> What should I do for this if I want to use the log object that already
> have in the xen source?
> 
> Regards.
> Sun Shuchun
> 
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

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

<Prev in Thread] Current Thread [Next in Thread>