Re: Suppress ROOT Info messages ?

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Wed, 25 Aug 2010 14:12:53 +0200


Hi Chris,

see TError.h and set gErrorIgnoreLevel to one of the values:

const Int_t kPrint    =   0;
const Int_t kInfo     =   1000;
const Int_t kWarning  =   2000;
const Int_t kError    =   3000;
const Int_t kBreak    =   4000;
const Int_t kSysError =   5000;
const Int_t kFatal    =   6000;


Rene Brun

Chris Jones wrote:
> Hi,
>
> Is there a way to suppress ROOT Info level messages ?
>
> I have a script that prints a lot of pages to a ps file, and currently
> I get flooded with messages like
>
> Info in <TCanvas::Print>: Current canvas added to ps file
> HPDImageCalibrationByFill.ps
>
> which I would like to be able to disable ? Apologies if this is in the
> manuals somewhere - I looked but didn't find anything.
>
> cheers Chris
>
Received on Wed Aug 25 2010 - 14:12:58 CEST

This archive was generated by hypermail 2.2.0 : Wed Aug 25 2010 - 17:50:01 CEST