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] Re: [Xen-changelog] Rewritten XendLogging to not be a si

To: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [Xen-changelog] Rewritten XendLogging to not be a singleton class, and not have methods used
From: Dan Smith <danms@xxxxxxxxxx>
Date: Mon, 10 Oct 2005 10:22:35 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 10 Oct 2005 17:20:27 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <E1EOzdL-0007ak-Ef@xxxxxxxxxxxxxxxxxxxxx> <1128960126.2826.15.camel@xxxxxxxxxxxxxx> <20051010161625.GB20935@xxxxxxxxxxxxxxxx> <871x2tnwz0.fsf@xxxxxxxxxx> <20051010170724.GC20935@xxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)
EM> Sure, and that works now with my fix.

Great.  I was really just responding to the question about who might
run xm as non-root :)

EM> I would have applied your patch, but what you'd effectively done
EM> was moved the import of XendLogging so that it didn't occur when
EM> doing xm help.

There was mention a while back about not importing a whole pile of
things to simply run a help command or the like, unless it was
necessary.

I agree with Jeremy that logging inside xm seems a little strange,
especially to the same place as the daemon.  It makes more sense to me
to expect debug information from an interactive tool on the console,
and to see info from a daemon in a log file.  Maybe a command-line or
config-file switch to turn on debug output to stderr?

-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms@xxxxxxxxxx


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