[libvirt] Authoritative source for logging filters descriptions ?

Kashyap Chamarthy kchamart at redhat.com
Tue Jun 4 12:15:06 UTC 2013


>>
>> Furthermore, from /etc/libvirt/libvirtd.conf, I see:
>> ===========================================
>> [...]
>> # Logging filters:
>> # A filter allows to select a different logging level for a given category
>> # of logs
>> # The format for a filter is one of:
>> #    x:name
>> #    x:+name
>> #      where name is a string which is matched against source file name,
>> #      e.g., "remote", "qemu", or "util/json", the optional "+" prefix
>> #      tells libvirt to log stack trace for each message matching name,
>> #      and x is the minimal level where matching messages should be logged:
>> #    1: DEBUG
>> #    2: INFO
>> #    3: WARNING
>> #    4: ERROR
>> #
>> # Multiple filter can be defined in a single @filters, they just need to be
>> # separated by spaces.
>> #
>> # e.g. to only get warning or errors from the remote layer and only errors
>> # from the event layer:
>> #log_filters="3:remote 4:event"
>> [...]
>> ===========================================
>>
>> Is the above list of strings describe all possible "name" values for filters ?
> 
> The 'name' is just a sub-string match against source file names. So to get a
> list of valid filter names, just list all source file names.

Thanks. I should've read more carefully.

> 
> 
> Daniel
> 


-- 
/kashyap




More information about the libvir-list mailing list