trace's verbosity level

Tomas Tomecek ttomecek at redhat.com
Wed Mar 13 14:10:16 UTC 2013


Hello, 

it might be a good idea to add verbosity level to trace:
 * level 0 -- issue triggered at this place
 * level 1 -- additional information
 * level 2 -- debug info
 * etc.

I know that this could be done by key/value pairs in trace -> state ->
annotation, but I think that using separate fields would be much better
(you can actually validate it).

It could look something like this:

<element name="trace">
  <oneOrMore>
    <element name="state">
      <ref name="location-element"/>
      <optional>
        <element name="verbosity-level">
          <attribute name="level"/>
          <data type="integer"/>
        </element>
      </optional>

It could be useful in webui in result. Let's say that some analyser is
able to produce 100 traces for one issue. This would be terribly
overwhelming for developers to check every single trace (so they could
filter the display by verbosity level).

Hope that does make sense.

Regards,
-- 
Tomas Tomecek -----------------\
 | Associate Software Engineer |
 | BaseOS - Core Services Brno |
 |   Red Hat Czech, s. r. o.   |
 \-----UTC+1------ttomecek-----/



More information about the firehose-devel mailing list