Re: [libvirt] [PATCH v4] libxl: define a per-domain logger.

2017-01-11 Thread Cedric Bosdonnat
On Tue, 2017-01-10 at 11:42 -0700, Jim Fehlig wrote: > Cédric Bosdonnat wrote: > > libxl doesn't provide a way to write one log for each domain. Thus > > we need to demux the messages. If our logger doesn't know to which > > domain to attribute a message, then it will write it to the default > >

Re: [libvirt] [PATCH v4] libxl: define a per-domain logger.

2017-01-10 Thread Jim Fehlig
Cédric Bosdonnat wrote: > libxl doesn't provide a way to write one log for each domain. Thus > we need to demux the messages. If our logger doesn't know to which > domain to attribute a message, then it will write it to the default > log file. > > Starting with Xen 4.9 (commit f9858025 and

Re: [libvirt] [PATCH v4] libxl: define a per-domain logger.

2017-01-10 Thread Cedric Bosdonnat
On Tue, 2017-01-10 at 12:21 +, Joao Martins wrote: > Hey Cedric, > > On 01/10/2017 09:03 AM, Cédric Bosdonnat wrote: > > libxl doesn't provide a way to write one log for each domain. Thus > > we need to demux the messages. If our logger doesn't know to which > > domain to attribute a message,

Re: [libvirt] [PATCH v4] libxl: define a per-domain logger.

2017-01-10 Thread Joao Martins
Hey Cedric, On 01/10/2017 09:03 AM, Cédric Bosdonnat wrote: > libxl doesn't provide a way to write one log for each domain. Thus > we need to demux the messages. If our logger doesn't know to which > domain to attribute a message, then it will write it to the default > log file. > > Starting

[libvirt] [PATCH v4] libxl: define a per-domain logger.

2017-01-10 Thread Cédric Bosdonnat
libxl doesn't provide a way to write one log for each domain. Thus we need to demux the messages. If our logger doesn't know to which domain to attribute a message, then it will write it to the default log file. Starting with Xen 4.9 (commit f9858025 and following), libxl will write the domain ID