[Qtwebengine] Enable chromium log messages

Paulo Pinheiro paulovap.os at gmail.com
Fri Jan 29 19:41:04 CET 2016


Hello All,

I'm trying to enable chromium logging, but I'm having a hard time.

I tried to add the following switches in web_engine_context.cpp:

    base::CommandLine* parsedCommandLine =
base::CommandLine::ForCurrentProcess();
    ...
    parsedCommandLine->AppendSwitch(switches::kEnableLogging);
    parsedCommandLine->AppendSwitchASCII(switches::kLoggingLevel, "0");

Also tried to force logging::SetMinLogLevel(0) in oid
ContentMainDelegateQt::PreSandboxStartup.

But it had no effect.

Suggestions?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qtwebengine/attachments/20160129/44a60abc/attachment.html>


More information about the QtWebEngine mailing list