Re: [libvirt] [PATCH 6/7 v2] Switch to filtering based on log source name instead of filename

2014-03-17 Thread Eric Blake
On 03/10/2014 09:01 AM, Daniel P. Berrange wrote: Currently the log filter strings are used in a string comparison against the source filename each time log message is emitted. If no log filters at all are set, there's obviously no string comparison to be done. If any single log filter is set

[libvirt] [PATCH 6/7 v2] Switch to filtering based on log source name instead of filename

2014-03-10 Thread Daniel P. Berrange
Currently the log filter strings are used in a string comparison against the source filename each time log message is emitted. If no log filters at all are set, there's obviously no string comparison to be done. If any single log filter is set though, this imposes a compute burden on every logging