Re: [libvirt] logging: how about adding a ProcessName field in logging file?

2015-03-13 Thread zhang bo
On 2015/3/13 17:29, Daniel P. Berrange wrote: > On Fri, Mar 13, 2015 at 05:08:54PM +0800, zhang bo wrote: >> Suppose there are 3 or more clients of libvirt: >> 1)nova >> 2)bash virsh commands >> 3)user customized ELF >> 4)etc >> >> The env LIBVIRT_DEBUG and LIBVIRT_LOG_OUTPUTS affects all of t

Re: [libvirt] logging: how about adding a ProcessName field in logging file?

2015-03-13 Thread Daniel P. Berrange
On Fri, Mar 13, 2015 at 05:08:54PM +0800, zhang bo wrote: > Suppose there are 3 or more clients of libvirt: > 1)nova > 2)bash virsh commands > 3)user customized ELF > 4)etc > > The env LIBVIRT_DEBUG and LIBVIRT_LOG_OUTPUTS affects all of these clients, > thus, they will all > accumulate the l

[libvirt] logging: how about adding a ProcessName field in logging file?

2015-03-13 Thread zhang bo
Suppose there are 3 or more clients of libvirt: 1)nova 2)bash virsh commands 3)user customized ELF 4)etc The env LIBVIRT_DEBUG and LIBVIRT_LOG_OUTPUTS affects all of these clients, thus, they will all accumulate the logs into *ONE* file set by LIBVIRT_LOG_OUTPUTS. eg: [2015-03-07 00:33:30]: