Disable redirect of std out in ROOTaaS notebook

In ROOT 6.06 it seems that the std output is shown into the output of the cell of the notebook. This is nice, but sometimes it is unwanted (roofit fit results).

Is there a possibility to disable it temporaty?

Hi,

you can always disable the messages of RooFit with

RooMsgService::instance().setGlobalKillBelow(RooFit::MSGLEVEL) ;

where MSGLEVEL is an enumerator done like

enum MsgLevel { DEBUG=0, INFO=1, PROGRESS=2, WARNING=3, ERROR=4, FATAL=5 } ;

Cheers,
Danilo

yes, this works for RooFit. Is there a general way to pause the redirection of the std output to the cells?

Hi,

you could interfere with the (Python) streams the jupyter infrastructure offer but I would not recommend it.
The usual manipulations of (C++) streams which work in C++ macros and programs work in the notebook as well of course.

Cheers,
Danilo

possible bugs:

sft.its.cern.ch/jira/browse/ROOT-7959
sft.its.cern.ch/jira/browse/ROOT-7960

I guess that temporary disabling the redirection of the full std output could be a partial workaround.