Showing Logs that only pertain to render process

37 views
Skip to first unread message

Patrick Wright

unread,
Jul 25, 2016, 4:37:44 PM7/25/16
to Chromium-dev
I am trying to do some off screen rendering. Is there a way to show logs that just pertain to rendering?

I currently use this flag when launching browser?

--enable-logging --v=1



Lei Zhang

unread,
Jul 25, 2016, 5:09:51 PM7/25/16
to wrig...@gmail.com, Chromium-dev
If you look at a sample logging line:

[1:1:0725/111240:ERROR:PlatformKeyboardEvent.cpp(94)] Not implemented
reached in static bool
blink::PlatformKeyboardEvent::currentCapsLockState()

It's format is:
[PID:TID:TIMESTAMP:CHANNEL:FILENAME(LINE_NUMBER)] MESSAGE.

You can grep for the PID (and/or) TID you are interested in. Assuming
this is on Linux, if "PID namespaces" is turned on in
chrome://sandbox, then renderers oftentimes have odd looking PIDs like
1.
> --
> --
> Chromium Developers mailing list: chromi...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-dev

Patrick Wright

unread,
Jul 25, 2016, 5:21:09 PM7/25/16
to Chromium-dev, wrig...@gmail.com
Thank you. will look deeper into this with that info. Also, for chromium source is Atom a good IDE? What is the IDE recommended for Chromium source?

Lei Zhang

unread,
Jul 25, 2016, 5:39:10 PM7/25/16
to wrig...@gmail.com, Chromium-dev
Perhaps you should start a separate thread, or see if there was an
existing thread on chromium-dev about IDEs.
https://www.chromium.org/developers has a section on editor guides.
Presumably "Atom" refers to
https://www.chromium.org/developers/using-atom-as-your-ide ? I have no
idea if that's a good IDE. I'm just a simple VIM user. My
recommendation is to use what you like, and avoid holy wars on the
topic.

Patrick Wright

unread,
Jul 25, 2016, 5:44:18 PM7/25/16
to Chromium-dev, wrig...@gmail.com
okay, thanks Lei
Reply all
Reply to author
Forward
0 new messages