From mboxrd@z Thu Jan 1 00:00:00 1970 From: "sun.shuchun" Subject: how to ouput log messages of pygrub into user console Date: Mon, 08 Feb 2010 09:46:12 +0900 Message-ID: <4B6F5ED4.8080606@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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? 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