<div>Hi Holger,</div><br><div>Modified from test/testApi.cc:</div><br><div>Rivet::Log::setLevel("Rivet", Rivet::Log::ERROR);</div><br><div>Hope that works!</div><br><div>Andy</div><br><div><signature id="initial"><div><table cellpadding="0" cellspacing="0"><tbody><tr><td colspan="2"><div style="padding-bottom:15px;"><div><strong>Dr Andy Buckley, Lecturer / Royal Society University Research Fellow</strong></div><div>Particle Physics Experiment Group, University of Glasgow</div></div></td></tr><tr><td style="vertical-align:top;"></td><td><div style="font-size:0.9em;white-space:nowrap;border-left:2px solid gray;margin-left:20px;padding-left:20px;"><div><div></div><div></div></div></div></td></tr></tbody></table></div></signature></div><div class="gmail_quote_attribution">On Mar 14 2018, at 4:55 pm, Holger Schulz <hschulz@fnal.gov> wrote:</div><blockquote><br><div><div>Hi,</div><br><div>is there an elegant way to set the log level globally</div><div>through the C++ API?</div><br><div>My program only uses Rivet::AnalysisHandler.</div><br><br><div>Thanks,</div><div>Holger</div><br><div>_______________________________________________</div><div>Rivet mailing list</div><div>Rivet@projects.hepforge.org</div><div>https://www.hepforge.org/lists/listinfo/rivet</div></div></blockquote>