From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Deegan Subject: Re: where printk() output? Date: Mon, 13 Feb 2012 10:36:20 +0000 Message-ID: <20120213103620.GC88765@ocelot.phlegethon.org> References: <1328880882031-5472445.post@n5.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1328880882031-5472445.post@n5.nabble.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: yunjiedu <350608693@qq.com> Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org At 05:34 -0800 on 10 Feb (1328852082), yunjiedu wrote: > Hi,all, > > today,i use function printk() in file xen/arch/x86/mm/paging.c,but Where the > output of printk() is stored (which log files)?I try to find,but without > results. Also is this output enabled by default ? If no, how to enable them? > thanks printk() prints to the console. You can also read the buffer of recent printk output from inside dom0 with 'xl dmesg'. Tim.