# Verbosity level

**URL:** <https://root-forum.cern.ch/t/verbosity-level/8590>\
**Category:** ROOT\
**Created:** [July 6, 2009, 2:09pm UTC](https://root-forum.cern.ch/t/verbosity-level/8590 "2009-07-06T14:09:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nabil](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/n/e79b87/32.png) [@Nabil](https://root-forum.cern.ch/u/Nabil)\
**Post date:** [July 6, 2009, 2:09pm UTC](https://root-forum.cern.ch/t/verbosity-level/8590/1 "2009-07-06T14:09:06Z")

</div>

hi, this is a basic question indeed:  
how can one suppress the warning messages about missing branches when reading a ttree?  
Error in TTree::SetBranchStatus: unknown branch -\>  
of course, as suggested in the past, one can simply comment the corresponding branch, but does ROOT implement some feature, like verbosity level, such that these error messages will be automatically suppressed?  
thanks.

---

<div class="post-metadata">

**Author:** ![brun](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/b/b9e5f3/32.png) [@brun](https://root-forum.cern.ch/u/brun)\
**Post date:** [July 7, 2009, 7:02am UTC](https://root-forum.cern.ch/t/verbosity-level/8590/2 "2009-07-07T07:02:05Z")

</div>

` #include "TError.h"
      gErrorIgnoreLevel = kInfo; // The default is kError
       gErrorIgnoreLevel = kFatal; // Explicitly remove all messages
       gErrorIgnoreLevel = kError; // Only error message (default)
       gErrorIgnoreLevel = kWarning; // error and warning message
       gErrorIgnoreLevel = kNote; // error, warning and note
       gErrorIgnoreLevel = kInfo; // Display all information (same as -v)
`

Rene
