Re: [libvirt] [PATCH 4/7] Turn virLogSource into a struct instead of an enum

2014-03-10 Thread Daniel P. Berrange
On Fri, Mar 07, 2014 at 10:28:42AM -0700, Eric Blake wrote: On 03/03/2014 12:18 PM, Daniel P. Berrange wrote: As part of the goal to get away from doing string matching on filenames when deciding whether to emit a log message, turn the virLogSource enum into a struct which contains a log

Re: [libvirt] [PATCH 4/7] Turn virLogSource into a struct instead of an enum

2014-03-07 Thread Eric Blake
On 03/03/2014 12:18 PM, Daniel P. Berrange wrote: As part of the goal to get away from doing string matching on filenames when deciding whether to emit a log message, turn the virLogSource enum into a struct which contains a log name. There will eventually be one virLogSource instance

Re: [libvirt] [PATCH 4/7] Turn virLogSource into a struct instead of an enum

2014-03-05 Thread Ján Tomko
On 03/03/2014 08:18 PM, Daniel P. Berrange wrote: As part of the goal to get away from doing string matching on filenames when deciding whether to emit a log message, turn the virLogSource enum into a struct which contains a log name. There will eventually be one virLogSource instance