[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] per-domain logging



On Thu, Sep 15, 2016 at 03:50:25PM +0100, Wei Liu wrote:
> CC Ian who might have some ideas on this.
> 
> On Wed, Sep 14, 2016 at 04:22:24PM +0200, Cedric Bosdonnat wrote:
> > Hi all,
> > 
> > I wanted to get libvirt's libxl driver have per-domain logs like all other 
> > drivers. After
> > looking at the libxl and XenToolLogger it seems I'll need to add the 
> > feature in either libxl
> > XenToolLogger. Would anyone already have an idea how best to add API to 
> > allow this?
> > 

Can you briefly describe how other drivers do per-domain logging?

Basically one libxl_ctx corresponds to one logger. I guess you don't
want multiple libxl_ctx, right?

IIRC there is already logfile abstraction inside libvirt -- can you just
pass in a libvirt logfile fd and try to demux there?

Wei.

> > Thanks for your help
> > --
> > Cedric
> > 
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@xxxxxxxxxxxxx
> > https://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.