[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] Authoritative source for logging filters descriptions ?



>>
>> 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]